MODIFICATIONS OF KNUTH RANDOMNESS TESTS FOR INTEGER AND BINARY SEQUENCES
Author(s) -
KOÇAK Onur SULAK
Publication year - 2018
Publication title -
communications faculty of science university of ankara series a1mathematics and statistics
Language(s) - English
Resource type - Journals
ISSN - 1303-5991
DOI - 10.1501/commua1_0000000862
Subject(s) - randomness , integer (computer science) , mathematics , binary number , combinatorics , discrete mathematics , computer science , arithmetic , statistics , programming language
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.
Accelerating Research
Robert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom
Address
John Eccles HouseRobert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom