Re: crypt() and md5
| From: | Niklas Neumann | Date: | Mon, 23 Apr 2001 09:16:46 +0000 |
| Subject: | Re: crypt() and md5 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-49822@lists.php.net to get a copy of this message | ||
Hy,
> That means that you do have MD5 crypt() support. If you simply provide a
> salt that starts with $1$ you should get an md5-encrypted password.
I know how to do it manually. But isn't crypt supposed to choose MD5-hashing
if it is available on the system php is running on?
I use PHP 4.0.4pl1 and md5 support is definitively available.
Btw.
> $1$rZelmysN$Gj0rbqD76STIotGExxpna1
> ^^^^^^^^^^^^
> SALT
Isn't this just a 8 chars SALT (rZelmysN)?
Best regards
Niklas Neumann