Re: [VOTE] Hash_pbkdf2
| From: | Sara Golemon | Date: | Tue, 03 Jul 2012 00:24:53 +0000 |
| Subject: | Re: [VOTE] Hash_pbkdf2 | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-61074@lists.php.net to get a copy of this message | ||
I'd like to see hash_init() support this mode as well (for completeness).
Perhaps something like the following:
$ctx = hash_init("sha512", HASH_PBKDF2, $salt, array('length' => 32,
'iterations' => 5000));
The new fourth parameter being an overloadable options generic so that we
don't have an endless list of parameters for all the possible hashing types.
-Sara
On Mon, Jul 2, 2012 at 9:34 AM, Anthony Ferrara <ircmaxell@gmail.com> wrote:
> Hello all,
>
> I've opened voting for the hash_pbkdf2 RFC adding hash_pbkdf2() to master:
>
> https://wiki.php.net/rfc/hash_pbkdf2#vote
>
> Thanks,
>
> Anthony
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>