PHP 5 >= 5.1.2, PHP 7, PHP 8, PECL hash >= 1.1
hash_algos - Return a list of registered hashing algorithms

hash_algos( ): array


This function has no parameters.

Return Values

Returns a numerically indexed array containing the list of supported hashing algorithms.


Version Description
8.1.0 Support for MurmurHash3 and xxHash algorithms has been added.
7.4.0 Support for crc32c has been added.
7.1.0 Support for sha512/224, sha512/256, sha3-224, sha3-256, sha3-384 and sha3-512 has been added.

Related Functions

Example of hash_algos

Show all examples for hash_algos

PHP Version:

Function hash_algos:

HASH Message Digest Framework Functions

Most used PHP functions