Answer the question
In order to leave comments, you need to log in
Saving the password in the database after the user registers on the site?
After registering on the site, the password that the user specified is not stored properly in the database. For example, the user specified the password - 131313, and in the database it is recorded as e04755387e5b5968ec213e41f70c1d46. Who knows what's the problem?
Answer the question
In order to leave comments, you need to log in
This is not a problem, but rather a solution to many security-related problems. During authorization, the user enters the same password, after which, having passed the encryption algorithm, he checks with the hash in the database. Sometimes hashes are salted to enhance the effect. Storing the password unencrypted with a one-way hash function is considered very bad manners.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question