[Patch] Implement PBKDF2 in the Hash package
| From: | Anthony Ferrara | Date: | Thu, 19 Jan 2012 22:05:43 +0000 |
| Subject: | [Patch] Implement PBKDF2 in the Hash package | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-57435@lists.php.net to get a copy of this message | ||
Hi all,
I've implemented a patch (attached to the bug, but in a gist as well
here https://gist.github.com/1641725 ) that implements
a hash_pbkdf2()
function. The patch also slightly refactors hash_hmac() to split out
a little bit of common functionality (since pbkdf2 relies upon hmac).
https://bugs.php.net/bug.php?id=60813
I've targeted the patch towards trunk for now, but I'd like to see if
it could get into 5.3 and 5.4 as well (in a point release).
Let me know your thoughts,
Thanks,
Anthony