PHP Classes
elePHPant
Icontem

Is there a scrypt password hashing class?: Password hashing algo wanted

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  All requests RSS feed  >  Is there a scrypt password hashing class?  >  Request new recommendation  >  A request is featured when there is no good recommended package on the site when it is posted. Featured requests  >  No recommendations No recommendations  

Is there a scrypt password hashing class?

Edit

Picture of William Wallace by William Wallace - 7 months ago (2015-06-21)

Password hashing algo wanted

This request is clear and relevant.
This request is not clear or is not relevant.

+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?

Ask clarification

2 Recommendations

Scyth: Encrypt data with PBKDF2 and Ceasar in pure PHP

This recommendation solves the problem.
This recommendation does not solve the problem.

0

Picture of Manuel Lemos by Manuel Lemos Reputation 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.


Quick And Easy Password Hashing: Create and verify password hashes with SHA and MD5

This recommendation solves the problem.
This recommendation does not solve the problem.

0

Picture of Dave Smith by Dave Smith Reputation 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 Comment
  • 1. Picture of Dave Smith 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
: 
: