xxh3 library

Constants

kSecretSizeMin → const int
The bare minimum size for a custom secret as defined in XXH3. See https://github.com/Cyan4973/xxHash/blob/b1a61dff654af43552b5ee05c737b6fd2a0ee14b/xxhash.h#L931
kXXH3HashLongFunction64Bit → const HashLongFunction
The default HashLongFunction from xxHash. See HashLongFunction.

Functions

xxh3(Uint8List input, {Uint8List? secret, int seed = 0, HashLongFunction hashLongFunction = kXXH3HashLongFunction64Bit}) int
Perform an XXH3 hash of the input data. The input data is provided as a Uint8List to avoid having to perform conversions internally.

Typedefs

HashLongFunction = int Function(Uint8List input, int seed, Uint8List secret)
When hashing inputs of length greater than 240, the HashLongFunction is used. The default is kXXH3HashLongFunction64Bit.