Repository navigation
v1.0.0 alpha
Pre-releaseAH1 is a 128-bit non-cryptographic hashing algorithm. Its mixing function has a good Hamming distance score of 16 bits for 32-bit inputs, and performs better than Murmur3 mix function in some cases. It has been tested for hash collisions against wordlists containing as many as one million words with zero collisions detected. This makes it a suitable hash function for normal use cases (such as in calculating digests and in hash tables).
Installation
sudo makeTo use the function, include AH1.h in your source file. It's installed in your user include directory. For example usage, see test_dict.c and repl.c.
The alpha version for testers is out now. Later versions to include a 256-bit hash function, too.
Full Changelog: https://github.com/skesc/ah1/commits/v1.0.0-alpha