| Literature DB >> 35626498 |
Elena Almaraz Luengo1, Marcos Brian Leiva Cerna1, Luis Javier García Villalba1, Julio Hernandez-Castro2, Darren Hurley-Smith3.
Abstract
This work presents an analysis of the existing dependencies between the tests of the FIPS 140-2 battery. Two main analytical approaches are utilized, the first being a study of correlations through the Pearson's correlation coefficient that detects linear dependencies, and the second one being a novel application of the mutual information measure that allows detecting possible non-linear relationships. In order to carry out this study, the FIPS 140-2 battery is reimplemented to allow the user to obtain p-values and statistics that are essential for more rigorous end-user analysis of random number generators (RNG).Entities:
Keywords: Dieharder; ENT; FIPS 140-2; NIST SP 800-22; TestU01; correlation; independence; mutual information; p-value; randomness; statistic
Year: 2022 PMID: 35626498 PMCID: PMC9141325 DOI: 10.3390/e24050613
Source DB: PubMed Journal: Entropy (Basel) ISSN: 1099-4300 Impact factor: 2.738
Ranges and lengths in runs test.
| Length | Range | Length | Range |
|---|---|---|---|
| 1 | 2343–2657 | 4 | 251–373 |
| 2 | 1135–1365 | 5 | 111–201 |
| 3 | 542–708 | 6+ | 111–201 |
Information and parameters of the experiments.
| Number of Sequences | Size (Bits) | Generator | Significance |
|---|---|---|---|
| dev/urandom | |||
|
|
| CryptGenRandom() | 0.001 |
|
| python.secrets() | ||
|
| qRNG |
Figure 1Pearson’s correlation (p-values): results.
Figure 2K-S test results.
Figure 3Mutual information (p-values): results.
Figure 4Mutual information (p-values): K-S.
Figure 5Dispersion matrix (p-values).
Figure 6Pearson’s correlation (statistics): results.
Figure 7Pearson’s correlation (statistics): K-S.
Figure 8Mutual information (statistics): results.
Figure 9Mutual information (statistics): K-S.
Figure 10Dispersion matrix (statistics).