Home > Demos > fbMhash Class (mhash() Emulation)   Mhash.php   Mhash.php  

mhash(MHASH_MD5, 'data', 'key')=\sYM4D8~Q
bin2hex(mhash(MHASH_MD5, 'data', 'key'))=   9d5c73ef85594d34ec4438b7c97e51d8
fbMhash::mhashhex(MHASH_MD5, 'data', 'key')=9d5c73ef85594d34ec4438b7c97e51d8
mhash(MHASH_SHA1, 'data', 'key')=ARſܠ{3FU
bin2hex(mhash(MHASH_SHA1, 'data', 'key'))=   104152c5bfdca07bc633eebd46199f0255c9f49d
fbMhash::mhashhex(MHASH_SHA1, 'data', 'key')=104152c5bfdca07bc633eebd46199f0255c9f49d
The blocksize of CRC32 is 4
The blocksize of MD5 is 16
The blocksize of SHA1 is 20
The blocksize of HAVAL256 is 32
The blocksize of  is 0
The blocksize of RIPEMD160 is 20
The blocksize of  is 0
The blocksize of TIGER is 24
The blocksize of GOST is 32
The blocksize of CRC32B is 4
The blocksize of HAVAL224 is 28
The blocksize of HAVAL192 is 24
The blocksize of HAVAL160 is 20
The blocksize of HAVAL128 is 16
The blocksize of TIGER128 is 16
The blocksize of TIGER160 is 20
The blocksize of MD4 is 16
The blocksize of SHA256 is 32
The blocksize of ADLER32 is 4
The blocksize of SHA224 is 28
The blocksize of SHA512 is 64
The blocksize of SHA384 is 48
The blocksize of WHIRLPOOL is 64
The blocksize of RIPEMD128 is 16
The blocksize of RIPEMD256 is 32
The blocksize of RIPEMD320 is 40
The blocksize of  is 0
The blocksize of SNEFRU256 is 32
The blocksize of MD2 is 16
The blocksize of FNV132 is 4
The blocksize of FNV1A32 is 4
The blocksize of FNV164 is 8
The blocksize of FNV1A64 is 8
$CVSHeader: _freebeer/www/demo/Mhash.php,v 1.2 2004/03/07 17:51:33 ross Exp $