Re: MD5 (' ')
| From: | Andrey Hristov | Date: | Wed, 29 Aug 2001 15:10:18 +0000 |
| Subject: | Re: MD5 (' ') | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-11952@lists.php.net to get a copy of this message | ||
I'm not so sure, but there is another parameter to md5() - the salt.
Andrey Hristov
IcyGEN Corporation
http://www.icygen.com
99%
----- Original Message -----
From: "Ignat Ikryanov" <Ignat.Ikryanov@ibd.ru>
To: <php-db@lists.php.net>
Sent: Wednesday, August 29, 2001 4:45 PM
Subject: [PHP-DB] MD5 (' ')
Hi!
I use md5 function to encrypt users password stored in MySql database. When I try encrypt string
'asdf' using md5 function I
retrieve:
912ec803b2ce49e4a541068d495ab570
But in 'shodow' file of my linux (Debian 2.2 used MD5 to encrypt users password)
'asdf' string looks like:
$1$arjq575D$rnHVFfcQE7.h2EgSU7yzQ1
Why results are different?