Re: crypt() should raise error without 2nd parameter

From: Date: Thu, 22 Aug 2013 11:30:06 +0000
Subject: Re: crypt() should raise error without 2nd parameter
References: 1  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
Hi all,

On Wed, Aug 7, 2013 at 7:18 PM, Yasuo Ohgaki <[email protected]> wrote:

> A user requested that crypt() should raise error without 2nd(slat)
> parameter.
>
> https://bugs.php.net/bug.php?id=55036
>
> crypt() without salt generates extremely weak password hash. In addition
> to this,
> PHP 5.5 has password_hash()
>
> This change should be applied from 5.5, IMHO.
>
> Any comments?
>


I've made RFC for this issue.

https://wiki.php.net/rfc/crypt_function_salt

Regards,

--
Yasuo Ohgaki
[email protected]


Thread (10 messages)

« previous php.internals (#68596) next »