Mhash
- 简介
- 安装/配置
- 预定义常量
- 范例
- Mhash 函数
- 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

User Contributed Notes 2 notes
Typo ¶
11 years ago
Note:
This extension is obsoleted by Hash.
I thought I would post this here as it took me a few minutes to find out.
virgili dot garcia at gmail dot com ¶
6 years ago
You can use:
$s = 'foo';
echo pack('H*', hash('md4', $s));