Research Article

LS-14 test suite for long sequences

Volume: 53 Number: 1 February 29, 2024
EN

LS-14 test suite for long sequences

Abstract

Random number sequences are used in many branches of science. Because of many techni- cal reasons and their practicality, pseudo random sequences are usually employed in place of true number sequences. Whether a sequence generated through a deterministic process is a pseudo random, in other words, random-looking sequence or it contains certain pat- terns, can be determined with the help of statistics and mathematics. Although, in the literature there are many statistical randomness tests for this purpose, there is no much work on test suites specialized for long sequences, that is sequences of length 1,000,000 bits or more. Most of the randomness tests for long sequences use some mathematical approximations to compute expected values of the random variables and hence their results contain some errors. Another approach to evaluate randomness criteria of long sequences is to partition the long sequence into a collection short sequences and evaluate the collection for the ran- domness using statistical goodness of fit tests. The main advantage of this approach is, as the individual sequences are short, there is no need to use mathematical approximations. On the other hand when the second approach is preferred, partition the long sequence into a collection of fixed length subsequences and this approach causes a loss of information in some cases. Hence the idea of dynamic partition should be included to perform a more reliable test suite. In this paper, we propose three new tests, namely the entire R2 run, dynamic saturation point, and dynamic run tests. Moreover, we introduce a new test suite, called LS-14, consisting of 14 tests to evaluate randomness of long sequences. As LS-14 employs all three approaches: testing the entire long sequence, testing the collection of fixed length partitions of it, and finally, testing the collection obtained by the dynamic partitions of it, the proposed LS-14 test suit differs from all existing suites. Mutual comparisons of all 14 tests in the LS-14 suite, with each other are computed. Moreover, results obtained from the proposed test suite and NIST SP800-22 suite are compared. Examples of sequences with certain patterns which are not observed by NIST SP800-22 suite but detected by the proposed test suite are given.

Keywords

References

  1. [1] A.A. Abd EL-Latif, B. Abd-El-Atty and S.E. Venegas-Andraca, Controlled alternate quantum walk-based pseudo-random number generator and its application to quantum color image encryption, Phys. A: Stat. Mech. 547, 2020.
  2. [2] Z. Akcengiz, M. Aslan, Ö. Karabayır, A. Doğanaksoy, M. Uğuz and F. Sulak, Statistical randomness tests of long sequences by dynamic partitioning, 2020 International Conference on Information Security and Cryptology, Ankara, Turkey, 2020.
  3. [3] R.G. Brown, Dieharder: A random number test suite, 2013.
  4. [4] M.B. Demirköz, B. Kocaoğlu, Glitter Lamps: A Cryptographically- Secure, Physical, Non-Deterministic Random Bit Generator, In Preparation.
  5. [5] A. Doğanaksoy and F. Göloğlu, On lempel-ziv complexity of sequences, Sequences and Their Applications-SETA, Lecture Notes in Computer Science, Springer, Berlin, Heidelberg, 4086, 180-189, 2006.
  6. [6] A. Doğanaksoy, F. Sulak, M. Uğuz, O. Şeker and Z. Akcengiz, Mutual correlation of NIST statistical randomness tests and comparison of their sensitivities on transformed sequences, Turk. J. Electr. Eng. 25, 655-665, 2017.
  7. [7] A. Doğanaksoy, F. Sulak, M. Uğuz, O. Şeker and Z. Akcengiz, New statistical randomness tests based on length of runs, Mathematical Problems in Engineering, Hindawi Publishing Corporation, 2015.
  8. [8] C. Fan, Q. Ding and C.K. Tse, Evaluating the randomness of chaotic binary sequences via a novel period detection algorithm, Int J Bifurcat Chaos 32 (5), 2022.

Details

Primary Language

English

Subjects

Statistics

Journal Section

Research Article

Early Pub Date

January 5, 2024

Publication Date

February 29, 2024

Submission Date

November 3, 2022

Acceptance Date

August 3, 2023

Published in Issue

Year 2024 Volume: 53 Number: 1

APA
Akcengiz, Z., Aslan, M., Doğanaksoy, A., Sulak, F., & Uğuz, M. (2024). LS-14 test suite for long sequences. Hacettepe Journal of Mathematics and Statistics, 53(1), 230-250. https://doi.org/10.15672/hujms.1190807
AMA
1.Akcengiz Z, Aslan M, Doğanaksoy A, Sulak F, Uğuz M. LS-14 test suite for long sequences. Hacettepe Journal of Mathematics and Statistics. 2024;53(1):230-250. doi:10.15672/hujms.1190807
Chicago
Akcengiz, Ziya, Melis Aslan, Ali Doğanaksoy, Fatih Sulak, and Muhiddin Uğuz. 2024. “LS-14 Test Suite for Long Sequences”. Hacettepe Journal of Mathematics and Statistics 53 (1): 230-50. https://doi.org/10.15672/hujms.1190807.
EndNote
Akcengiz Z, Aslan M, Doğanaksoy A, Sulak F, Uğuz M (February 1, 2024) LS-14 test suite for long sequences. Hacettepe Journal of Mathematics and Statistics 53 1 230–250.
IEEE
[1]Z. Akcengiz, M. Aslan, A. Doğanaksoy, F. Sulak, and M. Uğuz, “LS-14 test suite for long sequences”, Hacettepe Journal of Mathematics and Statistics, vol. 53, no. 1, pp. 230–250, Feb. 2024, doi: 10.15672/hujms.1190807.
ISNAD
Akcengiz, Ziya - Aslan, Melis - Doğanaksoy, Ali - Sulak, Fatih - Uğuz, Muhiddin. “LS-14 Test Suite for Long Sequences”. Hacettepe Journal of Mathematics and Statistics 53/1 (February 1, 2024): 230-250. https://doi.org/10.15672/hujms.1190807.
JAMA
1.Akcengiz Z, Aslan M, Doğanaksoy A, Sulak F, Uğuz M. LS-14 test suite for long sequences. Hacettepe Journal of Mathematics and Statistics. 2024;53:230–250.
MLA
Akcengiz, Ziya, et al. “LS-14 Test Suite for Long Sequences”. Hacettepe Journal of Mathematics and Statistics, vol. 53, no. 1, Feb. 2024, pp. 230-5, doi:10.15672/hujms.1190807.
Vancouver
1.Ziya Akcengiz, Melis Aslan, Ali Doğanaksoy, Fatih Sulak, Muhiddin Uğuz. LS-14 test suite for long sequences. Hacettepe Journal of Mathematics and Statistics. 2024 Feb. 1;53(1):230-5. doi:10.15672/hujms.1190807

Cited By