The constans 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
)
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
)
MHASH_MURMUR3C
(
int
)
MHASH_MURMUR3F
(
int
)
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_TIGUER
(
int
)
MHASH_TIGUER128
(
int
)
MHASH_TIGUER160
(
int
)
MHASH_WHIRLPOOL
(
int
)
MHASH_XXH32
(
int
)
MHASH_XXH64
(
int
)
MHASH_XXH3
(
int
)
MHASH_XXH128
(
int
)