Modifications of Knuth randomness tests for integer and binary sequences
Generating random numbers and random sequences that are indistinguishable from truly random sequences is an important task for cryptography. To measure the randomness, statistical randomness tests are applied to the generated numbers and sequences. Knuth test suite is the one of the first statistica...
Gespeichert in:
Veröffentlicht in: | Communications Series A1 Mathematics & Statistics 2018-02, Vol.67 (2), p.64-81 |
---|---|
Hauptverfasser: | , , , |
Format: | Artikel |
Sprache: | eng |
Schlagworte: | |
Online-Zugang: | Volltext |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | Generating random numbers and random sequences that are indistinguishable from truly random sequences is an important task for cryptography. To measure the randomness, statistical randomness tests are applied to the generated numbers and sequences. Knuth test suite is the one of the first statistical randomness suites. This suite, however, is mostly for real number sequences and the parameters of the tests are not given explicitly.
In this work, we review the tests in Knuth Test Suite. We give test parameters in order for the tests to be applicable to integer and binary sequences and make suggestions on the choice of these parameters. We clarify how the probabilities used in the tests are calculated according to the parameters and provide formulas to calculate the probabilities. Also, some tests, like Permutation Test and Max-of-t-test, are modified so that the test can be used to test integer sequences. Finally, we apply the suite on some widely used cryptographic random number sources and present the results. |
---|---|
ISSN: | 1303-5991 |
DOI: | 10.1501/Commua1_0000000862 |