Function hash_with_max

Source
pub fn hash_with_max(input: &[u8], max: u32) -> u32