simcoweb Posted July 4, 2007 Share Posted July 4, 2007 I'm looking to encrypt a password entry from a form and insert into MySQL. Here's what i'm attempting to use: $password = mysql_real_escape_string(md5($_POST['password1'])); Quote Link to comment Share on other sites More sharing options...
teng84 Posted July 4, 2007 Share Posted July 4, 2007 yes Quote Link to comment Share on other sites More sharing options...
Azu Posted July 4, 2007 Share Posted July 4, 2007 Note that this is hashing not encrypting. It will be impossible to retrieve the password, except maybe with a cracking tool like a rainbow table. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.