B0_std.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.
to_hex h is String.Ascii.to_hex (to_bytes h).
of_hex s is Result.map of_bytes (String.Ascii.of_hex s).
Xxh3_64 is the xxHash3 64-bit hash.
Xxh3_128 is the xxHash3 128-bit hash.