XxHash128
Provides an implementation of the XXH128 hash algorithm for generating a 128-bit hash.
public XxHash128()
Initializes a new instance of the XxHash128 class using the default seed value 0.
Initializes a new instance of the XxHash128 class using the specified seed.
Computes the XXH128 hash of the provided source data.
Computes the XXH128 hash of the provided data using the provided seed.
Computes the XXH128 hash of the provided source data using the optionally provided seed.
Computes the XXH128 hash of the provided source data into the provided destination using the optionally provided seed.
public static bool TryHash(ReadOnlySpan<byte> source, Span<byte> destination, out int bytesWritten, long seed = 0)
Attempts to compute the XXH128 hash of the provided source data into the provided destination using the optionally provided seed.