$ swrawrandom 63 0 1 noise.bin ------------------------------------------------------------------------------ --- A program for retrieving raw random bytes from SwiftRNG noise sources. --- ---- No data alteration, verification or quality tests will be performed. ---- ------------------------------------------------------------------------------ SwiftRNG device number 0 open successfully *** retrieving raw random bytes from noise source 1 *** Completed $ dd if=noise.bin of=swiftrng_raw_noise.bin bs=1 count=1000000 1000000+0 records in 1000000+0 records out 1000000 bytes (1.0 MB, 977 KiB) copied, 1.46801 s, 681 kB/s $ ./ea_iid -i swiftrng_raw_noise.bin -a -v Opening file: 'swiftrng_raw_noise.bin' Loaded 1000000 samples of 256 distinct 8-bit-wide symbols Number of Binary samples: 8000000 Calculating baseline statistics... Raw Mean: 127.412108 Median: 127.000000 Binary: false Literal MCV Estimate: mode = 4098, p-hat = 0.0040980000000000001, p_u = 0.0042625551868623289 Bitstring MCV Estimate: mode = 4000224, p-hat = 0.50002800000000003, p_u = 0.50048334661967486 H_original: 7.874066 H_bitstring: 0.998606 min(H_original, 8 X H_bitstring): 7.874066 Chi square independence score = 65016.405095 degrees of freedom = 65280 p-value = 0.766892 Chi square goodness of fit score = 2292.533742 degrees of freedom = 2295 p-value = 0.510600 ** Passed chi square tests Literal Longest Repeated Substring results P_col: 0.003907 Length of LRS: 4 Pr(X >= 1): 1.000000 ** Passed length of longest repeated substring test Beginning initial tests... Initial test results excursion: 89585.6 numDirectionalRuns: 665917 lenDirectionalRuns: 8 numIncreasesDecreases: 501939 numRunsMedian: 500275 lenRunsMedian: 23 avgCollision: 20.7562 maxCollision: 76 periodicity(1): 3944 periodicity(2): 3809 periodicity(8): 3953 periodicity(16): 3820 periodicity(32): 3986 covariance(1): 1.62332e+10 covariance(2): 1.62325e+10 covariance(8): 1.6228e+10 covariance(16): 1.62274e+10 covariance(32): 1.62432e+10 compression: 1.06729e+06 Beginning permutation tests... these may take some time 91.85% of Permutation test rounds, 100.00% of Permutation tests statistic C[i][0] C[i][1] C[i][2] ---------------------------------------------------- excursion 6 0 61 numDirectionalRuns 202 0 6 lenDirectionalRuns 2 6 0 numIncreasesDecreases 6 0 12 numRunsMedian 6 0 26 lenRunsMedian 2 4 69 avgCollision 6 0 12 maxCollision 3 3 15 periodicity(1) 6 0 10 periodicity(2) 94 0 6 periodicity(8) 6 0 14 periodicity(16) 56 0 6 periodicity(32) 6 0 69 covariance(1) 15 0 6 covariance(2) 9 0 6 covariance(8) 51 0 6 covariance(16) 80 0 6 covariance(32) 6 0 235 compression 66 0 6 (* denotes failed test) ** Passed IID permutation tests