Skip to content

Commit 97fb54e

Browse files
authored
Merge pull request #17 from vks/fix-predictability-statements
Fix predictability statements
2 parents 0eab948 + a449cfd commit 97fb54e

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/guide-rngs.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ You may wish to refer to the [pcg-random] and [xoshiro] websites.
4242
|------|-----------|-------------|--------|---------|--------|----------|
4343
| [`SmallRng`] | (unspecified) | 7 GB/s | 16 bytes | ★★★☆☆ |`u32` * 2<sup>64</sup> | not portable |
4444
| [`Pcg32`] | PCG XSH RR 64/32 (LCG) | 3 GB/s | 16 bytes | ★★★☆☆ | `u32` * 2<sup>64</sup> ||
45-
| [`Pcg64`] | PCG XSL 128/64 (LCG) | 4 GB/s | 32 bytes | ★★★| `u64` * 2<sup>128</sup> ||
45+
| [`Pcg64`] | PCG XSL 128/64 (LCG) | 4 GB/s | 32 bytes | ★★★| `u64` * 2<sup>128</sup> ||
4646
| [`Pcg64Mcg`] | PCG XSL 128/64 (MCG) | 7 GB/s | 16 bytes | ★★★☆☆ | `u64` * 2<sup>126</sup> ||
4747
| [`XorShiftRng`] | Xorshift 32/128 | 5 GB/s | 16 bytes | ★☆☆☆☆ | `u32` * 2<sup>128</sup> - 1 ||
48-
| [`Xoshiro256StarStar`] | Xoshiro256\*\* | 7 GB/s | 32 bytes | ★★★☆☆ | `u64` * 2<sup>256</sup> - 1 | jump-ahead |
48+
| [`Xoshiro256PlusPlus`] | Xoshiro256++ | 7 GB/s | 32 bytes | ★★★☆☆ | `u64` * 2<sup>256</sup> - 1 | jump-ahead |
4949
| [`Xoshiro256Plus`] | Xoshiro256+ | 8 GB/s | 32 bytes | ★★☆☆☆ | `u64` * 2<sup>256</sup> - 1 | jump-ahead |
5050
| [`SplitMix64`] | splitmix64 | 8 GB/s | 8 bytes | ★☆☆☆☆ | `u64` * 2<sup>64</sup> ||
5151
| [`StepRng`] | counter | 51 GB/s | 16 bytes | ☆☆☆☆☆ | `u64` * 2<sup>64</sup> ||
@@ -58,8 +58,6 @@ based on theory and observable defects, roughly as follows:
5858
- ★☆☆☆☆ = suitable for simple applications but with significant flaws
5959
- ★★☆☆☆ = good performance in most tests, some issues
6060
- ★★★☆☆ = good performance and theory, no major issues
61-
- ★★★★☆ = no observable issues and not trivial to predict (but not
62-
recommended for security)
6361
- ★★★★★ = cryptographic quality
6462

6563
## Cryptographically secure pseudo-random number generators (CSPRNGs)
@@ -306,7 +304,7 @@ http://random.mat.sbg.ac.at/results/peter/A19final.pdf) by P. Hellekalek.
306304
[`Pcg64`]: ../rand/rand_pcg/type.Pcg64.html
307305
[`Pcg64Mcg`]: ../rand/rand_pcg/type.Pcg64Mcg.html
308306
[`XorShiftRng`]: ../rand/rand_xorshift/struct.XorShiftRng.html
309-
[`Xoshiro256StarStar`]: ../rand/rand_xoshiro/struct.Xoshiro256StarStar.html
307+
[`Xoshiro256PlusPlus`]: ../rand/rand_xoshiro/struct.Xoshiro256PlusPlus.html
310308
[`Xoshiro256Plus`]: ../rand/rand_xoshiro/struct.Xoshiro256Plus.html
311309
[`SplitMix64`]: ../rand/rand_xoshiro/struct.SplitMix64.html
312310
[`ChaChaRng`]: ../rand/rand_chacha/struct.ChaChaRng.html

0 commit comments

Comments
 (0)