md5(md5($login_password) . $salt) in MySQL
Hello,
I unfortunately cannot use PHP to compare the plaintext password with the MD5 hash, I can only use mysql. The password needs to be placed into this format
md5(md5($login_password) . $salt)
and then compared, with the username, against the already hashed value in the database. I've been trying to do this but the hash value I get keeps being different from the one in the database.
I would really appreciate help!
|