Forum OpenACS Q&A: Response to Retreive Passwords

Collapse
Posted by Simos Gabrielidis on
SHA is a one-way hash function, so it is difficult to compute the plain-text from the cipher (encrypted) text. You may try to automatically generate a new password and email this password instead. Another alternative is to not encrypt it, if you do not mind storing plain-text passwords in your database.