Sometimes, in the development process, if you accidentally change the password of the project administrator account and forget, the existence of the password in the database is MD5 encrypted, what happens at this time? The most rookie of me, just
MD5, all known as Message Digest algorithm 5 (the fifth edition of the Messaging Digest algorithm). For more information, please refer to Wikipedia: MD5
MD5 is encrypted with a byte array, but we typically take its hexadecimal string notation, and
Sometimes, in the development process, if accidentally changed the project Administrator account password and forgot, there is the password in the database is MD5 encryption, this time how to do? The most rookie of me, just at the beginning is also
Sometimes, in the development process, if accidentally changed the project Administrator account password and forgot, there is the password in the database is MD5 encryption, this time how to do. The most rookie of me, just at the beginning is also
Retrieve the MD5 encrypted password and data in the MD5 encrypted database
Sometimes, during the development process, if you accidentally change the password of the Project Administrator Account and forget that the password in the database is
Extmail The default password encryption method is Md5crypt, but sometimes you encounter such a problem-the old mail system is MD5 encrypted user password.In this case, you need to change the Extmail password encryption method to MD5, through the
I used MD5 encryption to store and compare the MD5 password in mysql during registration. I used md5 () for comparison during login. The value has never been correct, as a result, the comparison fails.
Reply to discussion (solution)
1, first of all, briefly talk about the development of the regular Web login module (for simple login function, the database fields are not encrypted and encrypted during transmission)
Non-Secure Login module development
Using Jsp+mysql
The database
Password is used to modify the MySQL user password, if it is applied with the Web program recommend using the MD5 () function,Password function Legacy 16-bit, new version 41-bit, can be viewed with select length (Password (' 123456 ')).Password
It is of great significance to study the encryption and decryption of MySQL database in the course of network attack and defense. Imagine that once you have access to the site's permissions, if you can get the data stored in MySQL, through the
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.