martin: That's because some distributions, such as FreeBSD's ports and Debian's apt split PHP's modules into different packages.
![]() |
|
||||||||||
|
LIII. hash FunctionsВведениеMessage Digest (hash) engine. Allows direct or incremental processing of arbitrary length messages using a variety of hashing algorithms. ТребованияThe Hash extension requires no external libraries and is enabled by default as of PHP 5.1.2. It may be explicitly disabled by using the --disable-hash switch to configure. Earlier versions of PHP may incorporate the Hash extension by installing the PECL module. Предопределенные константыПеречисленные ниже константы определены данным расширением и могут быть доступны только в том случае, если PHP был собран с поддержкой этого расширения или же в том случае, если данное расширение подгружается во время выполнения.
hash Functions
rbemrose at vgmusic dot com
16-Oct-2007 06:55
martin: That's because some distributions, such as FreeBSD's ports and Debian's apt split PHP's modules into different packages.
martin
27-Sep-2007 12:28
I tried to use Hash() function on my PHP 5.2.3 (FreeBSD 6.2) but there was no Hash() function. (it should be available by default from version 5.1.2)
nb_removethis_ at wtal dot de
03-Sep-2007 05:24
Some tests with mhash and hash revealed on my machine that hash needs more than twice as long to create a hash than mhash. The average of one million cylces of Haval128, Haval256, Gost, CRC32, MD5, SHA1 and SHA256 was 450ms for mhash and 1150ms for hash.
|