Skip to main content

hash_bulk

Function hash_bulk 

Source
pub fn hash_bulk(bytes: &[u8]) -> u64
Expand description

A word-wide hash of bytes (eight a round where fnv takes one), for the bulk a text cache key is made of. Fx’s round (rotate, xor, multiply) with the length mixed first and murmur’s finalizer after, so a tail of zero bytes and a shorter text differ and every input bit reaches every output bit. Not a digest anything keeps across versions.