Packages / rupm

murmur-tools 0.1.0

MurmurHash3 (x86 32-bit and x64 128-bit) for bytes

Install

cargo add murmur-tools --registry rupm

In Ruststudio: Packages, search for murmur-tools, Install.

Owner: Rust Studio. Licence: MIT OR Apache-2.0. Total downloads: 0. Published 2026-11-22.

Versions

README

# murmur-tools

MurmurHash3 (x86 32-bit and x64 128-bit) for bytes

Add it with `rupm add murmur-tools` (or `cargo add murmur-tools --registry rupm`).

MurmurHash3 is a fast non-cryptographic hash for hash tables and sharding. It is not meant for security-critical use.

```rust
assert_eq!(murmur_tools::murmur3_x86_32(b"test", 0), 0xBA6B_D213);
let h = murmur_tools::murmur3_x64_128_hex(b"The quick brown fox jumps over the lazy dog", 0);
assert_eq!(h, "e34bbc7bbc071b6c7a433ca9c49a9347");
```