Crate murmur2

Source
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§

Functions§