Skip to content

Commit

Permalink
Link to actual CSPRNG in hash::SipHasher documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
dirk committed Mar 9, 2016
1 parent 054196d commit 46dc35e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/libcore/hash/sip.rs
Expand Up @@ -19,13 +19,13 @@ use super::Hasher;
///
/// See: http://131002.net/siphash/
///
/// This is the default hashing function used by standard library (eg.
/// `collections::HashMap` uses it by default).
/// This is currently the default hashing function used by standard library
/// (eg. `collections::HashMap` uses it by default).
///
/// 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 hashtables from a strong RNG, such
/// as [`rand::Rng`](https://doc.rust-lang.org/rand/rand/trait.Rng.html).
/// hashing. This lets you key your hashtables from a strong RNG, such as
/// [`rand::os::OsRng`](https://doc.rust-lang.org/rand/rand/os/struct.OsRng.html).
///
/// Although the SipHash algorithm is considered to be generally strong,
/// it is not intended for cryptographic purposes. As such, all
Expand Down

0 comments on commit 46dc35e

Please sign in to comment.