Random 如何在NIST测试套件中测试新的随机序列?
我必须使用NIST测试套件测试随机序列。我已经下载并运行了数据目录中给定文件的测试。它工作正常,但当我尝试在一个新的随机序列上运行它时,我得到了igmac:UNDERFLOW错误。在Matlab中使用Random 如何在NIST测试套件中测试新的随机序列?,random,testng,nist,Random,Testng,Nist,我必须使用NIST测试套件测试随机序列。我已经下载并运行了数据目录中给定文件的测试。它工作正常,但当我尝试在一个新的随机序列上运行它时,我得到了igmac:UNDERFLOW错误。在Matlab中使用 bs=fix(randi([0 1],1,k)); 然后使用保存为.dat文件 dlmwrite('bs.dat', bs); 我将bs.dat复制到数据文件夹中,并按如下方式执行测试。有人能告诉我这里怎么了吗 ash@computer:~/Documents/NIST\u Test\u O
bs=fix(randi([0 1],1,k));
然后使用保存为.dat文件
dlmwrite('bs.dat', bs);
我将bs.dat复制到数据文件夹中,并按如下方式执行测试。有人能告诉我这里怎么了吗
ash@computer:~/Documents/NIST\u Test\u Original/sts-2.1.2$/评估1000000
G E R A T O R S E L C T O N
______________________________________
[0] Input File [1] Linear Congruential
[2] Quadratic Congruential I [3] Quadratic Congruential II
[4] Cubic Congruential [5] XOR
[6] Modular Exponentiation [7] Blum-Blum-Shub
[8] Micali-Schnorr [9] G Using SHA-1
输入选项:0
User Prescribed Input File: data/bs.txt
S T A T I S T I C A L T E S T S
_________________________________
[01] Frequency [02] Block Frequency
[03] Cumulative Sums [04] Runs
[05] Longest Run of Ones [06] Rank
[07] Discrete Fourier Transform [08] Nonperiodic Template Matchings
[09] Overlapping Template Matchings [10] Universal Statistical
[11] Approximate Entropy [12] Random Excursions
[13] Random Excursions Variant [14] Serial
[15] Linear Complexity
INSTRUCTIONS
Enter 0 if you DO NOT want to apply all of the
statistical tests to each sequence and 1 if you DO.
INSTRUCTIONS
Enter a 0 or 1 to indicate whether or not the numbered statistical
test should be applied to each sequence.
123456789111111
012345
110000000000000
P a r a m e t e r A d j u s t m e n t s
-----------------------------------------
[1] Block Frequency Test - block length(M): 128
输入选项:0
User Prescribed Input File: data/bs.txt
S T A T I S T I C A L T E S T S
_________________________________
[01] Frequency [02] Block Frequency
[03] Cumulative Sums [04] Runs
[05] Longest Run of Ones [06] Rank
[07] Discrete Fourier Transform [08] Nonperiodic Template Matchings
[09] Overlapping Template Matchings [10] Universal Statistical
[11] Approximate Entropy [12] Random Excursions
[13] Random Excursions Variant [14] Serial
[15] Linear Complexity
INSTRUCTIONS
Enter 0 if you DO NOT want to apply all of the
statistical tests to each sequence and 1 if you DO.
INSTRUCTIONS
Enter a 0 or 1 to indicate whether or not the numbered statistical
test should be applied to each sequence.
123456789111111
012345
110000000000000
P a r a m e t e r A d j u s t m e n t s
-----------------------------------------
[1] Block Frequency Test - block length(M): 128
选择测试(0以继续):0
有多少比特流?五,
输入文件格式:
[0]ASCII-ASCII 0和1的序列
[1] 二进制-数据文件中的每个字节包含8位数据
选择输入模式:0
Statistical Testing In Progress.........
igamc: UNDERFLOW
igamc: UNDERFLOW
igamc: UNDERFLOW
igamc: UNDERFLOW
igamc: UNDERFLOW
Statistical Testing Complete!!!!!!!!!!!!