Module std::hash

Implementation of SipHash 2-4

See: http://131002.net/siphash/

Consider this as a main "general-purpose" hash for all hashtables: it runs at good speed (competitive with spooky and city) and permits cryptographically strong keyed hashing. Key your hashtables from a CPRNG like rand::rng.

Reexports

pub use State = hash::hash::SipState;

Traits

Hash

Types that can meaningfully be hashed should implement this.

Streaming

Streaming hash-functions should implement this.

Functions

default_state