Recommend this page to a friend! | Stumble It! | Bookmark in del.icio.us |
All requests | > | Is there a scrypt password hashing class? | > | Request new recommendation | > | Featured requests | > | No recommendations | ||
by William Wallace - 7 months ago (2015-06-21) scrypt
+2 | I need a good password hashing algo. 1st solution: for(i=0; $i<pow(2,20); $i++) { $password = hash('sha256', $password . $salt); } 2nd solution: echo password_hash('password', PASSWORD_DEFAULT); Is there a 3rd solution? What is that? Is scrypt the new panacea? What is scrypt? |
0 | by Manuel Lemos 11100 - 7 months ago (2015-06-22) Comment The latest PHP releases provide PBKDF2 implementations, but if you need a general solution that works in any PHP version, this class provides a pure PHP implementation of either PBKDF2 and Ceasar. These algorithms also implement key derivation functions. |
0 | by Dave Smith 5955 - 7 months ago (2015-06-22) Comment I would check out this class, seems to cover most of the basics. I have not dealt with scrypt before, apparently it is KDF (key derivation function) to derive secret keys from secret values. |
1. by Dave Smith - 7 months ago (2015-06-22) Reply
I must point out that my recommendation was made when the question was about wanting a password hashing class. The question now appears to have been changed to wanting a specific class for scrypt.
Recommend package | |
|