Re: encryption
| From: | Chris Moyer | Date: | Mon, 26 Jun 2000 16:09:48 +0000 |
| Subject: | Re: encryption | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-3138@lists.php.net to get a copy of this message | ||
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