Crate hashell

Source
Expand description

Hashell function ported from from scratch to rust (see https://scratch.mit.edu/projects/683935277/). This function can fail to compute hash in some untested corner cases, but generally it works fine with most values.

§Example

use hashell::hash_string;

fn main() {
    assert_eq!(hash_string("some value", 16), "5149710603511119".to_owned());
}

Structs§

Hashell
Hashing function that produces fixed length hashes

Functions§

hash_string
Convenience function for hashing values