Crate const_fnv1a_hash Copy item path Source fnv1a_hash_32 Computes 32-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. fnv1a_hash_64 Computes 64-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. fnv1a_hash_16_xor Computes 32-bits fnv1a hash and XORs higher and lower 16-bits.
This results in a 16-bits hash value.
Up to limit if provided, otherwise slice length.
If limit is zero or exceeds slice length, slice length is used instead. fnv1a_hash_128 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. fnv1a_hash_str_32 Computes 32-bit fnv1a hash from a str. fnv1a_hash_str_64 Computes 64-bit fnv1a hash from a str. fnv1a_hash_str_16_xor Computes 16-bit fnv1a hash from a str using XOR folding. fnv1a_hash_str_128 Computes 128-bit fnv1a hash from a str.