🔑 Fast, efficient hash
C Python Makefile
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
img upload logo Aug 8, 2017
src style Aug 12, 2018
test update test results Aug 11, 2018
util update core algorithm Aug 11, 2018
.gitignore rewrite Aug 4, 2018
LICENSE 2018 Jan 2, 2018
Makefile use new algorithm Aug 6, 2018
README.md update test results Aug 11, 2018

README.md

Slash

Fast, efficient hash

Usage

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

Building

$ git clone https://github.com/kbrsh/slash
$ cd slash
$ make

Support

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.

License

Licensed under the MIT License by Kabir Shah