Skip to main content

djb2

Function djb2 

Source
pub fn djb2(s: &str) -> u64
Expand description

Simple djb2 hash of a byte string — collision-resistant but not cryptographic. Used to produce stable, unique file-name suffixes.