jakeburden / hash-index

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About


Languages

Language:Rust 100.0%