Skip to content

v1.0.0 alpha

Pre-release
Pre-release

Choose a tag to compare

@314abh 314abh released this 05 Aug 19:54
· 14 commits to master since this release
63b1181

AH1 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 make

To 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