const_fnv1a_hash

Function fnv1a_hash_128

source
pub const fn fnv1a_hash_128(bytes: &[u8], limit: Option<usize>) -> u128
Expand description

Computes 128-bits fnv1a hash of the given slice, or up-to limit if provided. If limit is zero or exceeds slice length, slice length is used instead.