NIST测试包,包含15种不同的测试,对序列的随机性进行测试。其中,部分测试包含子测试。
随便选一个序列,看看测试结果:
------------------------------------------------------------------------------
RESULTS FOR THE UNIFORMITY OF P-VALUES AND THE PROPORTION OF PASSING SEQUENCES
------------------------------------------------------------------------------
generator is <c:/lilizong3.txt>
------------------------------------------------------------------------------
C1 C2 C3 C4 C5 C6 C7 C8 C9 C10 P-VALUE PROPORTION STATISTICAL TEST
------------------------------------------------------------------------------
3 0 0 0 0 0 3 0 3 1 0.035174 10/10 Frequency
2 0 0 0 1 1 1 0 2 3 0.350485 10/10 BlockFrequency
2 1 0 0 0 0 0 1 2 4 0.066882 10/10