Skip to main content

hash

Function hash 

Source
pub fn hash(hash: u32, data: &[u8]) -> u32
Expand description

Hash data into hash (djb2-style, 8-byte little-endian words then bytes). (timer.c: b3Hash)