Skip to content
🔑 Fast, efficient hash
C Python Makefile
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
img
src
test
util
.gitignore
LICENSE
Makefile
README.md

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

You can’t perform that action at this time.