From d580894e2170e93debc57b686d9d4ddf88147f91 Mon Sep 17 00:00:00 2001 From: Kaz Wesley Date: Fri, 18 Sep 2020 16:05:12 -0700 Subject: [PATCH] update StdRng docs after switch to ChaCha12 (#1028) --- src/rngs/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rngs/mod.rs b/src/rngs/mod.rs index ba2f81b807d..ac3c2c595da 100644 --- a/src/rngs/mod.rs +++ b/src/rngs/mod.rs @@ -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.