|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
Patcheshash-tiger.patch (last revision 2012-03-05 16:29 UTC by remi)Pull RequestsHistoryAllCommentsChangesGit/SVN commits
[2012-03-05 16:34 UTC] remi@php.net
[2012-03-05 17:56 UTC] mike@php.net
-Assigned To:
+Assigned To: mike
[2012-03-06 08:50 UTC] mike@php.net
[2012-03-06 08:50 UTC] mike@php.net
-Status: Assigned
+Status: Not a bug
[2012-03-06 12:01 UTC] mike@php.net
[2012-03-06 18:13 UTC] remi@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 17:00:01 2025 UTC |
Description: ------------ mhash_001 and mash_003 fails. For mhash 001 025+ MHASH_TIGER: string(48) "fdb9019a79c33a95677e2097abae91eb0de00b3054bb5c39" 026+ MHASH_TIGER: string(48) "953ac3799a01b9fdeb91aeab97207e67395cbb54300be00d" Some tests ==== PHP 5.1.6 php -r 'var_dump(bin2hex(mhash(MHASH_TIGER,"This is the test of the mhash extension...")));' string(48) "fdb9019a79c33a95677e2097abae91eb0de00b3054bb5c39" php -r 'var_dump(bin2hex(mhash(MHASH_TIGER,"This is the test of the mhash extension...")));' string(48) "fdb9019a79c33a95677e2097abae91eb0de00b3054bb5c39" ==== PHP 5.3.10 php -r 'var_dump(bin2hex(mhash(MHASH_TIGER,"This is the test of the mhash extension...")));' string(48) "fdb9019a79c33a95677e2097abae91eb0de00b3054bb5c39" php -r 'var_dump(bin2hex(hash("tiger192,3","This is the test of the mhash extension...",true)));' string(48) "fdb9019a79c33a95677e2097abae91eb0de00b3054bb5c39" ==== PHP 5.4.0 php -r 'var_dump(bin2hex(mhash(MHASH_TIGER,"This is the test of the mhash extension...")));' string(48) "953ac3799a01b9fdeb91aeab97207e67395cbb54300be00d" php -r 'var_dump(bin2hex(hash("tiger192,3","This is the test of the mhash extension...",true)));' string(48) "953ac3799a01b9fdeb91aeab97207e67395cbb54300be00d" === PHP 5.4.0 with patch php -r 'var_dump(bin2hex(mhash(MHASH_TIGER,"This is the test of the mhash extension...")));' string(48) "fdb9019a79c33a95677e2097abae91eb0de00b3054bb5c39" php -r 'var_dump(bin2hex(hash("tiger192,3","This is the test of the mhash extension...",true)));' string(48) "fdb9019a79c33a95677e2097abae91eb0de00b3054bb5c39"