File tree 1 file changed +6
-2
lines changed
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -15,16 +15,20 @@ use rand_hc::Hc128Rng;
15
15
/// on the current platform, to be statistically strong and unpredictable
16
16
/// (meaning a cryptographically secure PRNG).
17
17
///
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.
19
20
///
20
21
/// Reproducibility of output from this generator is however not required, thus
21
22
/// future library versions may use a different internal generator with
22
23
/// different output. Further, this generator may not be portable and can
23
24
/// 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.
25
27
///
26
28
/// [HC-128]: rand_hc::Hc128Rng
27
29
/// [`ChaChaRng`]: rand_chacha::ChaChaRng
30
+ /// [rand_hc]: https://crates.io/crates/rand_hc
31
+ /// [rand_chacha]: https://crates.io/crates/rand_chacha
28
32
#[ derive( Clone , Debug ) ]
29
33
pub struct StdRng ( Hc128Rng ) ;
30
34
You can’t perform that action at this time.
0 commit comments