MySqli Authentication: How to Convert Text Password to Encrypted Password
I have a MySqli generated user authentication login system which currently uses text passwords.
1. I would like to add a new field to the DB table for an encrypted password and then update each user's password as encrypted. How do I input into this this field via an update form using the appropriate security such as "crypt" ?
2. With forgot password I would like to then be able to e-mail a link for the user to update their password.
3. Can I adapt my current login system or should I start over from scratch?