Skip to content

Commit 8ff6cc1

Browse files
committed
update StdRng docs after switch to ChaCha12 (rust-random#1028)
1 parent f01b65d commit 8ff6cc1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/rngs/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
//! is local, it is typically much faster than [`OsRng`]. It should be
5959
//! secure, though the paranoid may prefer [`OsRng`].
6060
//! - [`StdRng`] is a CSPRNG chosen for good performance and trust of security
61-
//! (based on reviews, maturity and usage). The current algorithm is ChaCha20,
61+
//! (based on reviews, maturity and usage). The current algorithm is ChaCha12,
6262
//! which is well established and rigorously analysed.
6363
//! [`StdRng`] provides the algorithm used by [`ThreadRng`] but without
6464
//! periodic reseeding.

0 commit comments

Comments
 (0)