Expand description
An implementation of SipHash with a 128-bit output.
Macros§
- compress 🔒
- Loads an integer of the desired type from a byte stream, in LE order. Uses
copy_nonoverlapping
to let the compiler generate the most efficient way to load it from a possibly unaligned address.
Structs§
- A 128-bit (2x64) hash output
- Hasher 🔒
- An implementation of SipHash128 2-4.
- An implementation of SipHash128 1-3.
- An implementation of SipHash128 2-4.
- State 🔒
Traits§
Functions§
- u8to64_
le 🔒 ⚠Loads a u64 using up to 7 bytes of a byte slice. It looks clumsy but thecopy_nonoverlapping
calls that occur (viaload_int_le!
) all have fixed sizes and avoid callingmemcpy
, which is good for speed.