B0_hashSourceHash values and functions.
The property we want from these functions is speed and collision resistance. Build correctness depends on the latter.
The type for hash values. All hash functions use this representation. It is not possible to distinguish them, except for their length which might vary, or not.
of_binary_string s is the sequences of bytes of s as a hash value.
of_hex s is Result.map of_binary_string (String.Ascii.of_hex s).
of_hex s is Result.map of_binary_string (String.Ascii.of_hex' s).
Xxh3_64 is the xxHash3 64-bit hash.
Xxh3_128 is the xxHash3 128-bit hash.