Fast, efficient hash
Slash is a non-cryptographic hash function intended to be used for general purposes. It is highly collision resistant, results in uniformly distributed hashes, and has good avalanche properties.
#include "slash.h"
const unsigned char *key = "Slash";
unsigned long long hash = slash(key, 5);
//-> 0x2EF187C88FB36176
$ git clone https://github.com/kbrsh/slash
$ cd slash
$ make
Support Slash on Patreon to help sustain the development of the project. The maker of the project works on open source for free. If you or your company depend on this project, then it makes sense to donate to ensure that the project is maintained.
Licensed under the MIT License by Kabir Shah