diff options
| author | Dirk Gadsden <dirk@esherido.com> | 2016-03-06 19:32:19 -0800 |
|---|---|---|
| committer | Dirk Gadsden <dirk@esherido.com> | 2016-03-06 20:03:27 -0800 |
| commit | 054196d1d9b5e932e5a2dd69b77d9210e26b95b5 (patch) | |
| tree | 24bafbc0cb711c0d895410b02c33aa56a19c0a67 | |
| parent | e36c7da56c74368881b02a4bbf1f740714083c65 (diff) | |
| download | rust-054196d1d9b5e932e5a2dd69b77d9210e26b95b5.tar.gz rust-054196d1d9b5e932e5a2dd69b77d9210e26b95b5.zip | |
Amend `hash::SipHasher` docs to more strongly discourage cryptographic uses
| -rw-r--r-- | src/libcore/hash/sip.rs | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/libcore/hash/sip.rs b/src/libcore/hash/sip.rs index b1aab4c693d..3a6686770f6 100644 --- a/src/libcore/hash/sip.rs +++ b/src/libcore/hash/sip.rs @@ -27,10 +27,9 @@ use super::Hasher; /// 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). /// -/// Although the SipHash algorithm is considered to be cryptographically -/// strong, this implementation has not been reviewed for such purposes. -/// As such, all cryptographic uses of this implementation are _strongly -/// discouraged_. +/// 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_. #[stable(feature = "rust1", since = "1.0.0")] pub struct SipHasher { k0: u64, |
