hash() algorithm

Benoît Dejean bnet at ifrance.com
Wed Jul 21 15:48:16 EDT 2004


hi. Is the hash() algorithm standard ? Does hash(some_string) will always
return the same hash code on every arch ?

i need to use a ~checksum function, like md5, but i was also thinking
about hash() which is obviously simpler. So i can safely rely on hash()
behaviour so i can use it to generate ~strong and portable
identifier/checksum ?

thank you



More information about the Python-list mailing list