A simple C implementation of the Murmur3 hashing algorithm with an output hash of type size_t
.
Inspired by PeterScott's implementation.
Include the st-hash.h
and st-hash.c
files in your project, found in the lib
directory, then compile them with your source files.
For usage examples, consult the demo.c
and test.c
programs provided in the project.
You can compile and execute them by using these commands:
cc -o demo demo.c lib/st-hash.c && ./demo
cc -o test test.c lib/st-hash.c && ./test
This project is licensed under the MIT License. See the LICENSE file for details.