[go: up one dir, main page]

Function gxhash::gxhash64

source ·
pub fn gxhash64(input: &[u8], seed: i32) -> u64
Expand description

Hashes an arbitrary stream of bytes to an u64.

Example

let bytes = [42u8; 1000];
let seed = 1234;
println!("Hash is {:x}!", gxhash::gxhash64(&bytes, seed));