Hiding password

A

Anonymous

Guest
You could store the password in md5() format. Before writting it to the file, do:
$password = md5($password);

then when comparing another password against it, just md5 it before the comparison.

if (md5($password2) == $password) {
blah, blah, blah
}
 
Back
Top