Skip to content

Commit

Permalink
update StdRng docs after switch to ChaCha12 (rust-random#1028)
Browse files Browse the repository at this point in the history
  • Loading branch information
kazcw committed Sep 18, 2020
1 parent f01b65d commit 8ff6cc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rngs/mod.rs
Expand Up @@ -58,7 +58,7 @@
//! is local, it is typically much faster than [`OsRng`]. It should be
//! secure, though the paranoid may prefer [`OsRng`].
//! - [`StdRng`] is a CSPRNG chosen for good performance and trust of security
//! (based on reviews, maturity and usage). The current algorithm is ChaCha20,
//! (based on reviews, maturity and usage). The current algorithm is ChaCha12,
//! which is well established and rigorously analysed.
//! [`StdRng`] provides the algorithm used by [`ThreadRng`] but without
//! periodic reseeding.
Expand Down

0 comments on commit 8ff6cc1

Please sign in to comment.