Std.SipHash
6 public declarations
- key
UInt64 -> UInt64 -> Std.SipHash.SipKeyConstructs a 128-bit key from two 64-bit words.
- keyFromBytes
&Array[UInt8] -> Option[Std.SipHash.SipKey]Parses a 16-byte array into a 128-bit SipKey in little-endian order.
- sipHash24
&Std.SipHash.SipKey -> &Array[UInt8] -> UInt64Computes the 64-bit SipHash-2-4 digest for `bytes` using key `k`.
- sipHash24Int
&Std.SipHash.SipKey -> Int -> UInt64Computes SipHash-2-4 directly over a 64-bit integer without allocating byte arrays.
- sipHash24Text
&Std.SipHash.SipKey -> Str -> UInt64Computes the 64-bit SipHash-2-4 digest directly over a UTF-8 text string.
- SipKey
A 128-bit key consisting of two 64-bit unsigned words.
