Re: problem using crypt() without a salt
| From: | port23user | Date: | Wed, 14 Jan 2009 10:41:24 +0000 |
| Subject: | Re: problem using crypt() without a salt | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-286307@lists.php.net to get a copy of this message | ||
I figured out that I was running an older version of Suhosin. Apparently
this bug is fixed in Suhosin version 0.9.23 . I upgraded and everything
works great now. Thanks for the help.
Thodoris wrote:
>
>
> If no salt is provided, PHP will auto-generate a standard two character
> salt by default, unless the default encryption type on the system is
> MD5, in which case a random MD5-compatible salt is generated.
>
> http://gr2.php.net/manual/en/function.crypt.php
>
> Perhaps your PHP compilation or the package are broken.
>
> --
> Thodoris
>
>
>
--
View this message in context: http://www.nabble.com/problem-using-crypt%28%29-without-a-salt-tp21449541p21453524.html
Sent from the PHP - General mailing list archive at Nabble.com.