Link to actual CSPRNG in hash::SipHasher
documentation
This commit is contained in:
parent
054196d1d9
commit
46dc35e477
@ -19,13 +19,13 @@ use super::Hasher;
|
|||||||
///
|
///
|
||||||
/// See: http://131002.net/siphash/
|
/// See: http://131002.net/siphash/
|
||||||
///
|
///
|
||||||
/// This is the default hashing function used by standard library (eg.
|
/// This is currently the default hashing function used by standard library
|
||||||
/// `collections::HashMap` uses it by default).
|
/// (eg. `collections::HashMap` uses it by default).
|
||||||
///
|
///
|
||||||
/// SipHash is a general-purpose hashing function: it runs at a good
|
/// SipHash is a general-purpose hashing function: it runs at a good
|
||||||
/// speed (competitive with Spooky and City) and permits strong _keyed_
|
/// speed (competitive with Spooky and City) and permits strong _keyed_
|
||||||
/// hashing. This lets you key your hashtables from a strong RNG, such
|
/// hashing. This lets you key your hashtables from a strong RNG, such as
|
||||||
/// as [`rand::Rng`](https://doc.rust-lang.org/rand/rand/trait.Rng.html).
|
/// [`rand::os::OsRng`](https://doc.rust-lang.org/rand/rand/os/struct.OsRng.html).
|
||||||
///
|
///
|
||||||
/// Although the SipHash algorithm is considered to be generally strong,
|
/// Although the SipHash algorithm is considered to be generally strong,
|
||||||
/// it is not intended for cryptographic purposes. As such, all
|
/// it is not intended for cryptographic purposes. As such, all
|
||||||
|
Loading…
Reference in New Issue
Block a user