Possible Duplicate:
How to output MD5 hashed password in plain text?
I have a little problem, below is nmy code is a '$teacherpassword' variable where it contains the user's password with salt (random characters) around it.
$teacherpassword = md5(md5("g3f".$teacherpassword."rt4"));
Now lets say the passowrd is "Cricket", then if I echo $teahcerpassword
, it does not output the word "Cricket", it outputs the password hash which is "1ac30ef9e714fff0ab12b398e379f358".
I want it to output the word "Cricket". How can I get it to output the password word itself and not the password hash?