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.
pub use State = hash::hash::SipState; |
Hash | Types that can meaningfully be hashed should implement this. |
Streaming | Streaming hash-functions should implement this. |
default_state |
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
(or str
), enum
,
trait
, typedef
(or
tdef
).