md5 consistent across platforms/Python versions?
Erik Max Francis
max at alcyone.com
Wed Jul 16 02:35:38 CEST 2003
Gary Robinson wrote:
> I know that hash functions are often platform-dependent for efficiency
> reasons. From what I understand, this includes Python's hash(), which
> I have
> read is not guaranteed to return the same result across platforms or
> across Python versions.
> Can someone tell me whether an MD5 hash using Python's MD5 library IS
> guaranteed to return the same results for the same input string,
> platforms and Python versions?
MD5 hashes and Python's internal hash function are unrelated.
Erik Max Francis && max at alcyone.com && http://www.alcyone.com/max/
__ San Jose, CA, USA && 37 20 N 121 53 W && &tSftDotIotE
/ \ Nine worlds I remember.
\__/ Icelandic Edda of Snorri Sturluson
More information about the Python-list