Re: encryption
| From: | Adam Charnock | Date: | Mon, 26 Jun 2000 17:23:13 +0000 |
| Subject: | Re: encryption | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-3143@lists.php.net to get a copy of this message | ||
So how would you decrypt the string?
Adam
At 12:09 26-06-00 -0400, you wrote:
On Mon, Jun 26, 2000 at 11:31:59AM -0300, Martin A. Marques wrote: Is there a way to encrypt a string in PHP? Like a password column, and later verify with the same encryption test? I always use store the md5() of the password, and then use md5 when a password is submitted to compare to the hash in the DB. There is also a crypt() fucntion, but I've never used it. -- Chris Moyer -- cmoyer@chekinc.com --PHP Developer -- Chek.com-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net