hash()

Christopher Subich csubich.spam.block at spam.subich.block.com
Mon Dec 5 19:54:34 CET 2005


John Marshall wrote:

> I was actually interested in the mathematical/probability
> side rather than the empirical w/r to the current
> hash function in python. Although I imagine I could do
> a brute force test for x-character strings.

Hah.  No.

At least on the version I have handy (Py 2.2.3 on Itanium2), hash 
returns a 64-bit value.  Brute-forcing that in any reasonable length of 
time is rather impossible.



More information about the Python-list mailing list