©
本文档使用 PHP中文网手册 发布
These functions are intended to work with » mhash. Mhash can be used to create checksums, message digests, message authentication codes, and more.
This is an interface to the mhash library. Mhash supports a wide
variety of hash algorithms such as MD5, SHA1, GOST, and many
others. For a complete list of supported hashes, refer to the
constants page. The general rule is that you can access
the hash algorithm from PHP with MHASH_hashname
. For example, to
access TIGER you use the PHP constant MHASH_TIGER
.
Note:
This extension is obsoleted by Hash.
[#1] apache at webrz dot net [2009-09-23 04:37:51]
apache-1.3.41_1 and php5-5.2.11 and php5-hash-5.2.11
*** There is an issue using mhash.so ***
On certain Apache installs, Apache refuses to start when mhash is activated thru the php extension setup (make config).
Jos Chrispijn