ID: 25177
Updated by: [email]derick@php.net[/email]
Reported By: a dot lunkeit at signcubes dot com
-Status: Open
+Status: Feedback
Bug Type: *Encryption and hash functions
Operating System: Linux
PHP Version: 4.3.2
New Comment:

Can you point me to some of the reference test vectors?


Previous Comments:
------------------------------------------------------------------------

[2003-08-20 08:22:11] a dot lunkeit at signcubes dot com

Description:
------------
I noticed, that the sha1 function computes wrong hash values for data
with a volume greater than 2kB.

My reference values are various free implementations in C++, which come
to the same hash value, but the PHP implementation differs.

With data smaller than 2kB the problem does not exist.



Reproduce code:
---------------
This can be any code using the sha1 function. My code example doesn't
really matter.



------------------------------------------------------------------------


--
Edit this bug report at [url]http://bugs.php.net/?id=25177&edit=1[/url]