Lines Matching refs:salt
75 * Generates a random base 64-encoded salt prefixed with settings for the hash.
88 * A 12 character string containing the iteration count and a random salt.
97 // 6 bytes is the standard salt for a portable phpass hash.
125 * By using a salt and repeated hashing the password is "stretched". Its
136 * at least 12 characters (the settings and salt).
139 * A string containing the hashed password (and salt) or FALSE on failure.
165 $salt = substr($setting, 4, 8);
166 // Hashes must have an 8 character salt.
167 if (strlen($salt) != 8) {
173 $hash = hash($algo, $salt . $password, TRUE);
201 * A string containing the hashed password (and a salt), or FALSE on failure.