Random number is widely used in cryptographic applications, which is mainly used as key. Because the security of key totally depends on the amount and randomness of itself, it's very important to produce random numbers for cryptographic applications. This paper presents a method to generate random numbers for cryptographic applications. NIST Statistical Test Suite which provides 15 statistical methods is used to test the randomness of the random number generated by this method. Because the tests focus on a variety of different types of non-randomness, not all tests are needed. The chosen statistical tests are Frequency (Monobit) Test, Frequency Test within a Block, The Cumulative Sums (Cusums) Test, The Runs Test, Test for the Longest Run of Ones in a Block, Discrete Fourier Transform (Specral) Test, Approximate Entropy Test and Serial Test. The result of tests shows that the random number generated by the random number generator is random. Therefore the conclusion is the random number generated is random enough for cryptographic applications.
[1]
Behrouz A. Forouzan,et al.
Cryptography and network security
,
1998
.
[2]
Richard A. Mollin,et al.
An introduction to cryptography, Second Edition
,
2007,
Discrete mathematics and its applications.
[3]
Bernard P. Zajac.
Applied cryptography: Protocols, algorithms, and source code in C
,
1994
.
[4]
Juan Soto.
Randomness Testing of the Advanced Encryption Standard Candidate Algorithms
,
1999
.
[5]
Tang Ming . Wei Lian. Si Tuo Lin Si,et al.
Cryptography and Network Security - Principles and Practice
,
2015
.
[6]
Elaine B. Barker,et al.
A Statistical Test Suite for Random and Pseudorandom Number Generators for Cryptographic Applications
,
2000
.