ID: 13283
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
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] [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]