note 82480 deleted from function.sha1 by nlopess

From: Date: Sat, 12 Apr 2008 22:15:25 +0000
Subject: note 82480 deleted from function.sha1 by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-138243@lists.php.net to get a copy of this message
Note Submitter: Andy ---- How do you undo a SHA1(), I've used this function to "encrypt" a password, but let's say the user forget's their password, if I e-mail it to them then they will get a weird set of numbers that will not work when they want to log in, so how do I reverse a SHA1() function, or is it possible? If not could someone please tell me an alternative to this, something simple please I'm only thirteen and programming a huge website.

« previous php.notes (#138243) next »