update StdRng docs after switch to ChaCha12 (#1028)

This commit is contained in:
Kaz Wesley 2020-09-18 16:05:12 -07:00 committed by Vinzent Steinberg
parent f01b65d188
commit d580894e21

View File

@ -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.