Crate murmurhash64

Source
Expand description

Implementation of MurmurHash2 (64bit version)

Based on the implementation for Redis (antirez/redis src/hyperloglog.c)

More info and different implementations available at: https://sites.google.com/site/murmurhash/

§Basic Example

let key = "Pizza & Mandolino";
let seed = 2915580697;

let hash = murmur_hash64a(key.as_bytes(), seed);

Functions§

murmur_hash64a
Hash the given key and the given seed.