Expand description
§murmur2 Hash Functions
This is a pure Rust implementation of the murmur2 hash functions.
It is tested against the original C++ implementation.
To keep this crate no_std
and dependency free,
the tests live in a different crate, which is not published to crates.io.
The implementations have not been particularly optimized for performance.
The original C++ implementations are architecture/endianness dependent.
The only independent function provided is MurmurHashNeutral2
.
This crate does not follow that scheme,
all functions are provided in an endianness-dependent and -independent version.
The endianness-dependent versions have their name suffixed with a ne
, for “native endian”.
Constants§
- Seed found in Kafka source.
Functions§
- Endianness-independent
MurmurHash2
- Endianness-independent
MurmurHash2A
MurmurHash2A
MurmurHash2
- Endianness-independent
MurmurHash64A
MurmurHash64A
- Endianness-independent
MurmurHash64B
MurmurHash64B