2 releases (1 stable)

1.0.0 Oct 27, 2015
0.1.0 Oct 27, 2015

#322 in Cryptography

Download history 17/week @ 2019-11-30 29/week @ 2019-12-07 37/week @ 2019-12-14 1/week @ 2019-12-21 2/week @ 2019-12-28 23/week @ 2020-01-04 58/week @ 2020-01-11 46/week @ 2020-01-18 72/week @ 2020-01-25 43/week @ 2020-02-01 40/week @ 2020-02-08 34/week @ 2020-02-15 28/week @ 2020-02-22 33/week @ 2020-02-29 19/week @ 2020-03-07 33/week @ 2020-03-14

106 downloads per month
Used in naught

MIT license

3KB

jch-rs - Jump Consistent Hash for Rust

Build Status

Jump Consistent Hash is a linear complexity consistent hash algorithm described in John Lamping and Eric Veach's paper on the topic

Example

use jch;

let key = 5u64;
let num_buckets = 1024i32;
println!("{}", jch::hash(key, num_buckets));

No runtime deps