File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,16 +15,20 @@ use rand_hc::Hc128Rng;
1515/// on the current platform, to be statistically strong and unpredictable
1616/// (meaning a cryptographically secure PRNG).
1717///
18- /// The current algorithm used on all platforms is [HC-128].
18+ /// The current algorithm used on all platforms is [HC-128], found in the
19+ /// [rand_hc] crate.
1920///
2021/// Reproducibility of output from this generator is however not required, thus
2122/// future library versions may use a different internal generator with
2223/// different output. Further, this generator may not be portable and can
2324/// produce different output depending on the architecture. If you require
24- /// reproducible output, use a named RNG, for example [`ChaChaRng`].
25+ /// reproducible output, use a named RNG, for example [`ChaChaRng`] from the
26+ /// [rand_chacha] crate.
2527///
2628/// [HC-128]: rand_hc::Hc128Rng
2729/// [`ChaChaRng`]: rand_chacha::ChaChaRng
30+ /// [rand_hc]: https://crates.io/crates/rand_hc
31+ /// [rand_chacha]: https://crates.io/crates/rand_chacha
2832#[ derive( Clone , Debug ) ]
2933pub struct StdRng ( Hc128Rng ) ;
3034
You can’t perform that action at this time.
0 commit comments