At the moment, I'm storing passwords in a mySQL database as text rather than encrypted. Bad I know!
1) How can I on sign-up (insert into db) encrypt the password?
2) How can I look-up the encryped password when the user logs in to ensure it is correct?
3) On the Password Recovery page that sends them an email, I want to send them the password in un-encryped format. How could I do that?
Start Free Trial