Lines Matching refs:hash
88 * Return name hash for file indexing
1864 $hash = new Hash('sha1');
1865 $hash = $hash->hash($dn);
1866 extract(unpack('Vhash', $hash));
1867 return strtolower(Strings::bin2hex(pack('N', $hash)));
2998 throw new UnsupportedAlgorithmException('The only supported hash algorithms for RSA are: md2, md5, sha1, sha224, sha256, sha384, sha512');
3008 throw new UnsupportedAlgorithmException('The only supported hash algorithms for DSA are: sha1, sha224, sha256');
3025 throw new UnsupportedAlgorithmException('The only supported hash algorithms for EC are: sha1, sha224, sha256, sha384, sha512');
3668 $hash = new Hash('sha1');
3669 $hash = $hash->hash($key);
3672 $hash = substr($hash, -8);
3673 $hash[0] = chr((ord($hash[0]) & 0x0F) | 0x40);
3676 return $hash;