hash_pbkdf2()

hash_pbkdf2($algo, $password, $salt, $iterations[, $length = 0[, $raw_output = FALSE]])

Parameters:
  • $algo (string) – Hashing algorithm
  • $password (string) – Password
  • $salt (string) – Hash salt
  • $iterations (int) – Number of iterations to perform during derivation
  • $length (int) – Output string length
  • $raw_output (bool) – Whether to return raw binary data
Returns:

Password-derived key or FALSE on failure

Return type:

string

For more information, please refer to the PHP manual for hash_pbkdf2().

doc_CodeIgniter
2016-10-15 16:32:24
Comments
Leave a Comment

Please login to continue.