Message150587
If you run hash on strings containing only null characters it returns the length of the string
>>> hash("\0")
1
>>> hash("\0\0")
2
>>> hash("\0"*1000)
1000
This behaviour is not like proper hash functions.
The hashes of these strings should exhibit the avalanche effect like in a proper hash function. |
|
Date |
User |
Action |
Args |
2012-01-04 04:58:50 | Ramchandra Apte | set | recipients:
+ Ramchandra Apte |
2012-01-04 04:58:50 | Ramchandra Apte | set | messageid: <1325653130.87.0.569297022599.issue13710@psf.upfronthosting.co.za> |
2012-01-04 04:58:50 | Ramchandra Apte | link | issue13710 messages |
2012-01-04 04:58:49 | Ramchandra Apte | create | |
|