PHP 8.1.31 Released!

Predefined Constants

The constants below are defined by this extension, and will only be available when the extension has either been compiled into PHP or dynamically loaded at runtime.

Here is a list of hashes which are currently supported by mhash. If a hash is not listed here, but it is listed in the mhash documentation as supported, you can safely assume that this documentation is outdated.

MHASH_ADLER32 (int)
MHASH_CRC32 (int)
MHASH_CRC32B (int)
MHASH_CRC32C (int)
Available as of PHP 7.4.0.
MHASH_FNV132 (int)
MHASH_FNV1A32 (int)
MHASH_FNV164 (int)
MHASH_FNV1A64 (int)
MHASH_GOST (int)
MHASH_HAVAL128 (int)
MHASH_HAVAL160 (int)
MHASH_HAVAL192 (int)
MHASH_HAVAL224 (int)
MHASH_HAVAL256 (int)
MHASH_JOAAT (int)
MHASH_MD2 (int)
MHASH_MD4 (int)
MHASH_MD5 (int)
MHASH_MURMUR3A (int)
Available as of PHP 8.1.0.
MHASH_MURMUR3C (int)
Available as of PHP 8.1.0.
MHASH_MURMUR3F (int)
Available as of PHP 8.1.0.
MHASH_RIPEMD128 (int)
MHASH_RIPEMD160 (int)
MHASH_RIPEMD256 (int)
MHASH_RIPEMD320 (int)
MHASH_SHA1 (int)
MHASH_SHA224 (int)
MHASH_SHA256 (int)
MHASH_SHA384 (int)
MHASH_SHA512 (int)
MHASH_SNEFRU256 (int)
MHASH_TIGER (int)
MHASH_TIGER128 (int)
MHASH_TIGER160 (int)
MHASH_WHIRLPOOL (int)
MHASH_XXH32 (int)
MHASH_XXH64 (int)
MHASH_XXH3 (int)
MHASH_XXH128 (int)

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top