Abstract
The paper presents the problem of testing the randomness of bit strings in a pattern search using the Non Overlapping Template Matching algorithm. Presented problem arises when using long aperiodic patterns resulting in false-positive scores rejecting the generator as non-random. The paper proposes an additional criterion for the applicability of the algorithm, which allows to evade discussed problem.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
Knuth, D.E.: The Art of Computer Programming. Vol 2: Seminumerical Algorithms. Addison-Wesley, USA (1997)
Jóźwiak, P.P.: Theoretical and empirical testing of the randomness of a quantum random number generator with quantum entanglement. In: Nguyen, N.T., et al. (eds.) ICCCI 2023. CCIS, vol. 1864, pp. 645–657. Springer, Cham (2023). https://doi.org/10.1007/978-3-031-41774-0_51
Rukhin, A., et al.: A Statistical Test Suite for Random and Pseudorandom Number Generators for Cryptographic Applications. National Institute of Standards and Technology, Special Publication 800-22, Rev.1a (2010)
Sys, M., Riha, Z., Matyas, V., Marton, K., Suciu, A.: On the interpretation of results from the NIST statistical test suite. Roman. J. Inf. Sci. Technol. 18(1), 18–32 (2015)
Kaikai, L., Jianguo, Z., Pu, L., Anbang, W., Yuncai, W.: Parallel implementation of the non-overlapping template matching test using CUDA. China Commun. 17(8) (2020)
Meihui, C., Hua, C., Limin, F., Dengguo, F.: Templates selection in non-overlapping template matching test. Electron. Lett. 52(18), 1508–1574 (2016). https://doi.org/10.1049/el.2016.0260
Brown, R.G.: Dieharder, Robert G. Brown’s General Tools Page. https://webhome.phy.duke.edu/~rgb/General/dieharder.php. Accessed 20 2021
L’Ecuyer, P., Simard, R.: TestU01: a C library for empirical testing of random number generators. ACM Trans. Math. Softw. 33(4), 1–40 (2007)
Tamura, K., Shikano, Y.: Quantum random numbers generated by the cloud superconducting quantum computer. In: International Symposium on Mathematics, Quantum Theory, and Cryptography, pp. 17–37 (2019)
Jacak, M.M., Jóźwiak, P.P., Niemczuk, J., Jacak, J.E.: Quantum generators of random numbers. Sci. Rep. 11, Article ID. 16108, pp. 1–21 (2021). https://doi.org/10.1038/s41598-021-95388-7
Symul, T., Assad, S.M., Lam, P.K.: Real time demonstration of high bitrate quantum random number generation with coherent laser light. Appl. Phys. Lett. 98(23) (2011). https://doi.org/10.1063/1.3597793
Matsumoto, M., Nishimura, T.: Mersenne twister: a 623-dimensionally equidistributed uniform pseudo-random number generator. ACM Trans. Model. Comput. Simul. 8(1), 3–30 (1998). https://doi.org/10.1145/272991.272995
Jóźwiak, P.P., Jóźwiak, I., Juszczyszyn, K., Małachowski, T.: Randomness testing of the random number generators using Dieharder tool. In: Scientific Papers of Silesian University of Technology - Organization and Management Series, no. 167, p. 151 (2022). https://doi.org/10.29119/1641-3466.2022.167.11
von Neumann, J.: Mathematical Foundations of Quantum Mechanics. Princeton University Press, Princeton (1955)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2024 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Jóźwiak, P.P., Zatwarnicki, K. (2024). Applicability Criterion of the Non Overlapping Template Matching Algorithm from NIST Statistical Test Suite SP800-22 for Long Aperiodic Patterns. In: Nguyen, N.T., et al. Computational Collective Intelligence. ICCCI 2024. Lecture Notes in Computer Science(), vol 14811. Springer, Cham. https://doi.org/10.1007/978-3-031-70819-0_27
Download citation
DOI: https://doi.org/10.1007/978-3-031-70819-0_27
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-70818-3
Online ISBN: 978-3-031-70819-0
eBook Packages: Computer ScienceComputer Science (R0)