Skip to content

Hash.XXH-128

Name Mandatory Description Default Type
⬅️ Input The string, bytes or a sequence of strings/bytes to hash. Bytes[Bytes]String[String]
Output ➡️ Outputs the 128-bit hash as a byte array. Bytes

This shard outputs the 128-bit hash(of 16 bytes) of the input (string, bytes or a sequence of strings/bytes) using the XXH128 hashing algorithm.

Details

XXH128 is a non-cryptographic hash algorithm, designed for speed rather than cryptographic security.

The Hash.XXH-128 shard provides a longer hash output compared to Hash.XXH-64, which can be useful in scenarios where a lower collision probability is desired.