[PHP-DEV] [VOTE] Hash_pbkdf2

2012-07-02 Thread Anthony Ferrara
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

Re: [PHP-DEV] [VOTE] Hash_pbkdf2

2012-07-02 Thread Paul Dragoonis
I see no coding examples, just a function declaration. On Mon, Jul 2, 2012 at 5:34 PM, Anthony Ferrara 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 -

Re: [PHP-DEV] [VOTE] Hash_pbkdf2

2012-07-02 Thread Anthony Ferrara
Paul On Mon, Jul 2, 2012 at 12:38 PM, Paul Dragoonis wrote: > I see no coding examples, just a function declaration. I've updated the RFC adding 2 examples. Anthony -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] [VOTE] Hash_pbkdf2

2012-07-02 Thread Sara Golemon
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 end

Re: [PHP-DEV] [VOTE] Hash_pbkdf2

2012-07-02 Thread Anthony Ferrara
Sara, On Mon, Jul 2, 2012 at 8:24 PM, Sara Golemon wrote: > 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 para

Re: [PHP-DEV] [VOTE] Hash_pbkdf2

2012-07-02 Thread Sara Golemon
On Mon, Jul 2, 2012 at 5:49 PM, Anthony Ferrara wrote: > Sara, > > On Mon, Jul 2, 2012 at 8:24 PM, Sara Golemon wrote: > > 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, a

Re: [PHP-DEV] [VOTE] Hash_pbkdf2

2012-07-10 Thread Anthony Ferrara
Hey all, The voting phase has ended for hash_pbkdf2, and it has passed with a vote of 8:0. I've moved the RFC into Accepted state, and will merge the PR today into master, then move the RFC into Implemented. Thanks! Anthony On Mon, Jul 2, 2012 at 10:37 PM, Sara Golemon wrote: > > > On Mon, Ju