Expand description
An implementation of SipHash.
Macrosยง
- compress ๐
- load_
int_ ๐le - 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ยง
- Hasher ๐
- Sip13
Rounds ๐ - Sip24
Rounds ๐ - SipHasher
Deprecated - An implementation of SipHash 2-4.
- State ๐
- SipHasher13 ๐ป
Deprecated Experimental - An implementation of SipHash 1-3.
- SipHasher24 ๐
Deprecated Experimental - An implementation of SipHash 2-4.
Traitsยง
- Sip ๐๐ป
Functionsยง
- u8to64_
le ๐ โ - Loads a u64 using up to 7 bytes of a byte slice. It looks clumsy but the
copy_nonoverlapping
calls that occur (viaload_int_le!
) all have fixed sizes and avoid callingmemcpy
, which is good for speed.