Mhash
- Introduction
- Installing/Configuring
- Predefined Constants
- Examples
- Mhash Functions
- mhash_count — Gets the highest available hash ID
- mhash_get_block_size — Gets the block size of the specified hash
- mhash_get_hash_name — Gets the name of the specified hash
- mhash_keygen_s2k — Generates a key
- mhash — Computes hash
Коментарии
Note:
This extension is obsoleted by Hash.
I thought I would post this here as it took me a few minutes to find out.
You can use:
$s = 'foo';
echo pack('H*', hash('md4', $s));