Function xxhash2::hash64
[−]
[src]
pub fn hash64(data: &[u8], seed: u64) -> u64
Hash a block of bytes with a given seed, returning the 64-bit hash.
This function, optimized for speed, will hash an entire block all at once and return the hash value.
Examples
assert_eq!(xxhash2::hash64(&[1, 2, 3, 4], 0), 6063570110359613137);