Hi,
I am trying to build a secure "forgot your password" function in php but I come across the fact that a hashed password (md5 or sha1) cannot be decrypted thus i cannot retrieve it for a user in case one forgot it. What are the ways of going around this issue?
thanks in advance.
PHP retrieving a hashed password from database
Moderator: General Moderators
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
Re: PHP retrieving a hashed password from database
You don't fetch the password you have the user reset their password.