Module const_xxh3

Source
Expand description

Xxh3 const fn implementation

This module is efficient only when hashes are guaranteed to be executed at compile time. At runtime algorithm is written in fairly inefficient code, although still fast enough.

Functionsยง

const_custom_default_secret
Generates secret derived from provided seed and default secret.
xxh3_64
Returns 64bit hash for provided input.
xxh3_64_with_secret
Returns 64bit hash for provided input using custom secret.
xxh3_64_with_seed
Returns 64bit hash for provided input using seed.
xxh3_128
Returns 128 hash for provided input.
xxh3_128_with_secret
Returns 128 hash for provided input using custom secret.
xxh3_128_with_seed
Returns 128 hash for provided input using seed.