Provides fast murmur hashes for strings, files, and ziped files in Python 3.
Murmur Hash Library is a simple c level implementation developed for high speed hashing of in memory strings, on disk files, and the contents of zip files.
As the name implies the hashes are generated via an implementation of MurmurHash 2.0.
A few quick NOTES and WARNINGS:
The implementation of MurMur that is used in this code makes the following assumptions about your machine:
- A 4-byte value can be read from any address without crashing
- sizeof(int) == 4
It will also not produce the same results on little-endian and big-endian machines.
I believe it would be easily possible to get around these limitations.