Lines Matching refs:hash
22 # change the hash type identifier (the "$P$") to something different.
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));
161 $output .= $this->encode64($hash, 16);
235 $hash =
237 if (strlen($hash) == 60)
238 return $hash;
244 $hash =
246 if (strlen($hash) == 20)
247 return $hash;
252 $hash =
255 if (strlen($hash) == 34)
256 return $hash;
270 $hash = $this->crypt_private($password, $stored_hash);
271 if ($hash[0] == '*')
272 $hash = crypt($password, $stored_hash);
274 return $hash === $stored_hash;