International Journal of Science and Research (IJSR)

International Journal of Science and Research (IJSR)
Call for Papers | Fully Refereed | Open Access | Double Blind Peer Reviewed

ISSN: 2319-7064


Downloads: 3 | Views: 64 | Weekly Hits: ⮙3 | Monthly Hits: ⮙3

Case Studies | Computer and Mathematical Sciences | Canada | Volume 12 Issue 9, September 2023


Running Linux - Based Random Number Statistical Test on Microsoft Windows

Sayed Mohammad Badiezadegan [2]


Abstract: In the realm of cryptography, the significance of high-quality random numbers cannot be overstated. These numbers, generated by well-defined algorithms with input sets known as seeds, depend on the entropy of the seed for their quality. Assessing the quality of random numbers has long been a challenge, but the National Institute of Standards and Technology NIST has provided a comprehensive solution in SP 800-22, a Statistical Test Suite for Random and Pseudorandom Number Generators designed for cryptographic applications. This suite encompasses a diverse array of statistical tests, including frequency tests, spectral tests, template matching tests, and more. In this article, we elucidate the process of compiling this suite on Microsoft Windows OS, leveraging the versatile Unix-like environment and command-line interface offered by Cygwin. Cygwin, originating from Cygnus Solutions and now a part of IBM, facilitates the execution of source-based Linux applications, provided the necessary tools and libraries are pre-installed. We present a step-by-step guide to configuring Cygwin, setting environment variables, and running the NIST STS, offering a practical resource for those seeking to evaluate and enhance the quality of random number generation in cryptographic applications.


Keywords: NIST SP 800-22, Linux, Cygwin, random number quality, statistical test


Edition: Volume 12 Issue 9, September 2023,


Pages: 1587 - 1595


How to Download this Article?

Type Your Valid Email Address below to Receive the Article PDF Link


Verification Code will appear in 2 Seconds ... Wait

Top