Skip to content

kbrsh/slash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

🔑 Fast, efficient hash

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published