Home >Backend Development >PHP Tutorial >How is the MySQL login password encrypted when transmitted?

How is the MySQL login password encrypted when transmitted?

WBOY
WBOYOriginal
2016-08-04 09:21:521242browse

I can use wireshark to capture that the password of redis is transmitted in clear text (I don’t know if redis can encrypt the password before transmitting it like mysql).

But I found that the mysql login password was encrypted and sent, so how was it encrypted?
How is the MySQL login password encrypted when transmitted?

Reply content:

I can use wireshark to capture that the password of redis is transmitted in clear text (I don’t know if redis can encrypt the password before transmitting it like mysql).

But I found that the mysql login password was encrypted and sent, so how was it encrypted?
How is the MySQL login password encrypted when transmitted?

It’s not encryption, it’s hashing. According to the hashed length in the picture is 40, it is estimated to use SHA1.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn