ID: 13283 Updated by: lobbin Old Summary: Can't make MD4 Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: mhash related Operating System: Linux PHP Version: 4.0.6 New Comment:
On 4.1.0: The crc32-hash is 3bf7d740 The md4-hash is f946e584b60439a1c89c4ab20b45eb02 -> Closed. Previous Comments: ------------------------------------------------------------------------ [2001-09-13 07:45:19] [EMAIL PROTECTED] Script: $input = "MyPw"; $hash = mhash (MHASH_CRC32, $input); print "The crc32-hash is ".bin2hex($hash)."\n<br>"; $hash = mhash (MHASH_MD4, $input); print "The md4-hash is ".bin2hex ($hash)."\n<br>"; Output: The crc32-hash is 3bf7d740 The md4-hash is 3bf7d740 ------------------------------------------------------------------------ [2001-09-13 07:40:39] [EMAIL PROTECTED] Please post a short reproducing scripts and a backtrace. Derick ------------------------------------------------------------------------ [2001-09-13 07:36:49] [EMAIL PROTECTED] mhash works, linux makes the correct md4-hash, but if i use MHASH_MD4, it is a CRC32-Hash. ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=13283&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]