md5 consistent across platforms/Python versions?

Skip Montanaro skip at
Tue Jul 15 17:14:25 CEST 2003

    Gary> Can someone tell me whether an MD5 hash using Python's MD5 library
    Gary> IS guaranteed to return the same results for the same input
    Gary> string, across platforms and Python versions?


Yes, it is.  MD5 is inherently platform- and language-independent.  The script in the Python distribution uses the same test inputs as
found in RFC 1321 and produces the same output as the C reference
implementation contained in the RFC.


More information about the Python-list mailing list