pub struct SipHasher(/* private fields */);
An implementation of SipHash 2-4.
SipHash is a general-purpose hashing function: it runs at a good
speed (competitive with Spooky and City) and permits strong keyed
hashing. This lets you key your hash tables from a strong RNG, such as
Although the SipHash algorithm is considered to be generally strong, it is not intended for cryptographic purposes. As such, all cryptographic uses of this implementation are strongly discouraged.
const: unstable · source👎Deprecated since 1.13.0: use
Creates a new
SipHasher with the two initial keys set to 0.
strinto this hasher. Read more