Skip to main content

Applicability Criterion of the Non Overlapping Template Matching Algorithm from NIST Statistical Test Suite SP800-22 for Long Aperiodic Patterns

  • Conference paper
  • First Online:
Computational Collective Intelligence (ICCCI 2024)

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

References

  1. Knuth, D.E.: The Art of Computer Programming. Vol 2: Seminumerical Algorithms. Addison-Wesley, USA (1997)

    Google Scholar 

  2. 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

    Chapter  Google Scholar 

  3. 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)

    Google Scholar 

  4. 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)

    Google Scholar 

  5. 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)

    Google Scholar 

  6. 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

    Article  Google Scholar 

  7. Brown, R.G.: Dieharder, Robert G. Brown’s General Tools Page. https://webhome.phy.duke.edu/~rgb/General/dieharder.php. Accessed 20 2021

  8. 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)

    Article  MathSciNet  Google Scholar 

  9. 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)

    Google Scholar 

  10. 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

  11. 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

  12. 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

    Article  Google Scholar 

  13. 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

  14. von Neumann, J.: Mathematical Foundations of Quantum Mechanics. Princeton University Press, Princeton (1955)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Piotr Paweł Jóźwiak .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2024 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

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)

Publish with us

Policies and ethics