Skip to main content

cohort_hash

Function cohort_hash 

Source
pub fn cohort_hash(logical_key: &str, discriminator: &str) -> u32
Expand description

FNV-1a 32-bit hash over the UTF-16 code units of logical_key:discriminator; the integer numerator behind cohort.