Skip to content

Commit

Permalink
Updated comments to remove note about binary output
Browse files Browse the repository at this point in the history
  • Loading branch information
isaiahdw committed Jan 21, 2011
1 parent 7308dd9 commit 44b20e1
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions classes/bonafide/mechanism/pbkdf2.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,17 +43,13 @@ class Bonafide_Mechanism_PBKDF2 extends Bonafide_Mechanism {
* config file and use the [Bonafide::instance] method to create your
* hash mechanism.
*
* [!!] Output from this method is in a binary format and it should be
* stored in an appropriate field type. Typically a tinyblob can be used
* for this.
*
* [!!] The iteration count can not be set using this method
*
* @link http://www.ietf.org/rfc/rfc2898.txt
* @param string plaintext password
* @param string appended salt, should be unique per user
* @param integer number of iterations to run
* @return binary derived key
* @return string base64 encoded derived key
*/
public function hash($password, $salt = NULL, $iterations = NULL)
{
Expand Down

0 comments on commit 44b20e1

Please sign in to comment.