I want to make a secure password with md5. I did encrypt on it: md5 ($ password). In the database, the password is stored as 7692f4у61. How can I ensure that when a user enters his password, he logged in, for it indicates that the password is not correct, as it is presented in a different form?
I, most likely, do not understand the principle of its work, I did not find anything on the Internet. Help me figure out how to use md5?