Persistent Hashing of Strings in Python
Posted
by Chris S
on Stack Overflow
See other posts from Stack Overflow
or by Chris S
Published on 2010-03-24T20:14:16Z
Indexed on
2010/03/24
20:43 UTC
Read the original article
Hit count: 129
python
How would you convert an arbitrary string into a unique integer, which would be the same across Python sessions and platforms? For example hash('my string') wouldn't work because a different value is returned for each Python session and platform.
© Stack Overflow or respective owner