[issue17891] Wrong MD5 calculation on really long strings and the Hashlib
Charles-François Natali
report at bugs.python.org
Thu May 2 10:59:59 CEST 2013
Charles-François Natali added the comment:
I'm getting the same hash as CPython with md5sum and openssl, on Linux:
$ wc -c data
6227020800 data
$ md5sum data
8adbd18519be193db41dd5341a260963 data
$ openssl md5 data
MD5(data)= 8adbd18519be193db41dd5341a260963
So it's correct, and your system's openssl version is borked. As for why Pypy returns the same result, I've no clue: maybe it's linked with your system libraries.
----------
nosy: +neologix
resolution: -> invalid
stage: -> committed/rejected
status: open -> closed
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17891>
_______________________________________
More information about the Python-bugs-list
mailing list