#blake3 #predictable #hash #indexing #maximum #value #watson-hash-index

hash-index

Predictable hash indexing with a possible maximum value. Rust adaptation of watson/hash-index using Blake3

2 releases

0.1.1 Jan 13, 2020
0.1.0 Jan 13, 2020

#12 in #predictable

MIT license

3KB

hash-index

Predictable hash indexing with a possible maximum value. Rust adaptation of watson/hash-index using Blake3

Usage

use hash_index;

let hash = hash_index::hash(b"foobar"); // 2857448067
let hash_with_max = hash_index::hash_with_max(b"foobar", 100); // 67

See Also

Dependencies

~2MB
~55K SLoC