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 <ircmax...@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
>
>

Reply via email to