Hello,
Any body can help me how to verify a MD5 password ?
For example for DES I use:
if ( crypt($recived_password, $db_stored_password) == $db_stored_password )
Any help?
Thank you.
Assuming the value in the db is encrypted and the value you're comparing is not: if (MD5($newvalue) == $valuefromdb) { ... }
Since MD5 is a hash and cannot be decrypted, you must hash the new value and compare.
thank you! It works!