File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -22,16 +22,17 @@ pub(crate) use rand_hc::Hc128Core as Core;
22
22
/// on the current platform, to be statistically strong and unpredictable
23
23
/// (meaning a cryptographically secure PRNG).
24
24
///
25
- /// The current algorithm used is the ChaCha block cipher with 20 rounds.
26
- /// This may change as new evidence of cipher security and performance
27
- /// becomes available.
25
+ /// The current algorithm used is the ChaCha block cipher with 12 rounds. Please
26
+ /// see this relevant [rand issue] for the discussion. This may change as new
27
+ /// evidence of cipher security and performance becomes available.
28
28
///
29
29
/// The algorithm is deterministic but should not be considered reproducible
30
30
/// due to dependence on configuration and possible replacement in future
31
31
/// library versions. For a secure reproducible generator, we recommend use of
32
32
/// the [rand_chacha] crate directly.
33
33
///
34
34
/// [rand_chacha]: https://crates.io/crates/rand_chacha
35
+ /// [rand issue]: https://github.com/rust-random/rand/issues/932
35
36
#[ cfg_attr( doc_cfg, doc( cfg( feature = "std_rng" ) ) ) ]
36
37
#[ derive( Clone , Debug , PartialEq , Eq ) ]
37
38
pub struct StdRng ( Rng ) ;
You can’t perform that action at this time.
0 commit comments