I saved the user passwords in an encrypted format in my database. However, now when the user wants to log in and tries to place his original password, the code always compares the entered (original) password with the encrypted version stored in the database, which leads to an unsuccessful login.
Please tell me how to compare the entered (original) password with the encrypted password stored in the database.
source
share