coreblocks
coreblocks copied to clipboard
Hash functions and CountHashTab
Hi, Here is a pull request which adds hash tables. In particularly:
- Added implementation of two non-cryptographic hashes: -- Lookup3 (http://www.burtleburtle.net/bob/hash/doobs.html) -- SipHash (https://eprint.iacr.org/2012/351.pdf)
- Added CountHashTab
I am not sure how to test them, so comments are welcome.
Hash functions I test using statistical test to check if they hash into uniform distribution, but sadly for small input data (from range [0,1023]) there is some bias and statistical tests fails... Whats more I am not sure if we want to have tests based on statistics, because this can cause instability.