← Standard library

HashCore

static class HashCore
import HashCore from Wax::Hash;

Low-level non-cryptographic xxHash implementations. The Wax::Hash namespace functions provide the ordinary byte/string entrypoints. Hashes are deterministic for the same bytes and seed, but collisions are possible; do not use them for authentication.

Hash.wax:33

Inherits from object. Follow these links for inherited members.

Members

HashBytes32method

public static fn HashBytes32(ReadOnlySpan<uint8> bytes) : uint32

Computes XXH32 over the complete byte view, using seed zero. Does not modify or retain the input. Non-cryptographic.

Hash.wax:143

HashBytes32WithSeedmethod

public static fn HashBytes32WithSeed(ReadOnlySpan<uint8> bytes, uint32 seed) : uint32

Computes XXH32 over the complete byte view, using the supplied seed. Does not modify or retain the input. Non-cryptographic.

Hash.wax:151

HashBytes64method

public static fn HashBytes64(ReadOnlySpan<uint8> bytes) : uint64

Computes XXH64 over the complete byte view, using seed zero. Does not modify or retain the input. Non-cryptographic.

Hash.wax:222

HashBytes64WithSeedmethod

public static fn HashBytes64WithSeed(ReadOnlySpan<uint8> bytes, uint64 seed) : uint64

Computes XXH64 over the complete byte view, using the supplied seed. Does not modify or retain the input. Non-cryptographic.

Hash.wax:230

HashBytesXXH3method

public static fn HashBytesXXH3(ReadOnlySpan<uint8> bytes) : uint64

Computes XXH3 (64-bit) over the complete byte view, using seed zero. Does not modify or retain the input. Non-cryptographic.

Hash.wax:504

HashBytesXXH3WithSeedmethod

public static fn HashBytesXXH3WithSeed(ReadOnlySpan<uint8> bytes, uint64 seed) : uint64

Computes XXH3 (64-bit) over the complete byte view, using the supplied seed. Does not modify or retain the input. Non-cryptographic.

Hash.wax:512