Bug #13283 Updated: Can't make MD4

From: Date: Thu, 13 Sep 2001 11:45:19 +0000
Subject: Bug #13283 Updated: Can't make MD4
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-65869@lists.php.net to get a copy of this message
ID: 13283 User updated by: torsten.schulz@dqs.de Reported By: torsten.schulz@dqs.de Old Status: Feedback Status: Open Bug Type: mhash related Operating System: Linux PHP Version: 4.0.6 New Comment: 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 Previous Comments: ------------------------------------------------------------------------ [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 (#65869) next »