Entry
Does PHP support HMAC-MD5 Keyed-Hashing for Message Authentication?
Feb 29th, 2000 12:25
Matt Gregory, David Erickson, http://www.php.net/manual/html/ref.mhash.html
Using the functions in the mhash library you can extend PHP to handle
hash functions. This does require that you recompile PHP with the --
with-mhash parameter and that you download the library.
The library can be found at http://schumann.cx/mhash/
Supported hash tables:
MHASH_MD5
MHASH_SHA1
MHASH_HAVAL
MHASH_RIPEMD160
MHASH_RIPEMD128
MHASH_SNEFRU
MHASH_TIGER
MHASH_GOST
MHASH_CRC32
MHASH_CRC32B
Functions:
mhash_get_hash_name() — Get the name of the specified hash
mhash_get_block_size() — Get the block size of the specified hash
mhash_count() — Get the highest available hash id
mhash() — Compute hash