Possible Duplicate:
Is it possible to decrypt md5 hashes?
I have a database to store usernames, passwords, emails, etc. If a user forgets his/her password, I will send it to their email account.
The problem is that I encrypt the password to md5 before I store it into my database. If the user's password is ABC, I store it in my database as 867dbd57e9ca9f808. I cannot send the user "867dbd57e9ca9f808" if they forget their password. I would need to send "ABC". However, that would require me to "un-md5" the string, which I don't think is possible.