Lines Matching refs:password
3 * Portable PHP password hashing framework.
20 # Please do not change the "private" password hashing method implemented in
29 * Portable PHP password hashing framework.
121 function crypt_private($password, $setting)
149 $hash = md5($salt . $password, TRUE);
151 $hash = md5($hash . $password, TRUE);
154 $hash = pack('H*', md5($salt . $password));
156 $hash = pack('H*', md5($hash . $password));
225 function HashPassword($password)
227 if ( strlen( $password ) > 4096 ) {
236 crypt($password, $this->gensalt_blowfish($random));
245 crypt($password, $this->gensalt_extended($random));
253 $this->crypt_private($password,
264 function CheckPassword($password, $stored_hash)
266 if ( strlen( $password ) > 4096 ) {
270 $hash = $this->crypt_private($password, $stored_hash);
272 $hash = crypt($password, $stored_hash);