Bug #13283 Updated: Can't make MD4

From: Date: Wed, 16 Jan 2002 11:08:19 +0000
Subject: Bug #13283 Updated: Can't make MD4
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-77230@lists.php.net to get a copy of this message
ID: 13283 Updated by: lobbin Old Summary: Can't make MD4 Reported By: torsten.schulz@dqs.de 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] torsten.schulz@dqs.de 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] derick@php.net Please post a short reproducing scripts and a backtrace. Derick ------------------------------------------------------------------------ [2001-09-13 07:36:49] torsten.schulz@dqs.de 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

« previous php.dev (#77230) next »