Closed GoogleCodeExporter closed 9 years ago
Unfortunately the laws of probability are against you - according to the
Birthday Paradox, you'll probably see collisions in the results of an N-bit
hash after hashing 2^(N/2) keys - for a 32-bit hash, that's 65536 keys. Your
test code is hashing ~2.7 million keys, so you are bound to see collisions.
See http://en.wikipedia.org/wiki/Birthday_attack for interesting details.
Original comment by tanj...@gmail.com
on 11 May 2012 at 6:08
Original comment by tanj...@gmail.com
on 11 May 2012 at 6:08
Original issue reported on code.google.com by
par...@gmail.com
on 10 Mar 2012 at 11:10Attachments: