$ swrawrandom 63 0 0 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 0 *** Completed $ dd if=noise.bin of=swiftrng_le_raw_noise.bin bs=1 count=1000000 1000000+0 records in 1000000+0 records out 1000000 bytes (1.0 MB, 977 KiB) copied, 1.46752 s, 681 kB/s $ ./ea_iid -i swiftrng_le_raw_noise.bin -a -v Opening file: 'swiftrng_le_raw_noise.bin' Loaded 1000000 samples of 256 distinct 8-bit-wide symbols Number of Binary samples: 8000000 Calculating baseline statistics... Raw Mean: 127.391039 Median: 127.000000 Binary: false Literal MCV Estimate: mode = 4224, p-hat = 0.0042240000000000003, p_u = 0.0043910552308587389 Bitstring MCV Estimate: mode = 4000812, p-hat = 0.50010149999999998, p_u = 0.50055684661100652 H_original: 7.831217 H_bitstring: 0.998394 min(H_original, 8 X H_bitstring): 7.831217 Chi square independence score = 65094.408676 degrees of freedom = 65280 p-value = 0.695771 Chi square goodness of fit score = 2272.474292 degrees of freedom = 2295 p-value = 0.626929 ** Passed chi square tests Literal Longest Repeated Substring results P_col: 0.003908 Length of LRS: 5 Pr(X >= 1): 0.366024 ** Passed length of longest repeated substring test Beginning initial tests... Initial test results excursion: 76847.8 numDirectionalRuns: 667219 lenDirectionalRuns: 9 numIncreasesDecreases: 501452 numRunsMedian: 500182 lenRunsMedian: 22 avgCollision: 20.7791 maxCollision: 73 periodicity(1): 3928 periodicity(2): 3958 periodicity(8): 3895 periodicity(16): 3834 periodicity(32): 3926 covariance(1): 1.62291e+10 covariance(2): 1.62382e+10 covariance(8): 1.62267e+10 covariance(16): 1.62353e+10 covariance(32): 1.62292e+10 compression: 1.06724e+06 Beginning permutation tests... these may take some time 91.76% of Permutation test rounds, 100.00% of Permutation tests statistic C[i][0] C[i][1] C[i][2] ---------------------------------------------------- excursion 6 0 28 numDirectionalRuns 6 0 37 lenDirectionalRuns 1 5 7 numIncreasesDecreases 105 0 6 numRunsMedian 8 0 6 lenRunsMedian 3 3 22 avgCollision 6 0 49 maxCollision 5 1 5 periodicity(1) 6 0 12 periodicity(2) 6 0 25 periodicity(8) 6 0 6 periodicity(16) 70 0 6 periodicity(32) 5 1 8 covariance(1) 6 0 6 covariance(2) 6 0 139 covariance(8) 16 0 6 covariance(16) 6 0 40 covariance(32) 6 0 9 compression 38 0 6 (* denotes failed test) ** Passed IID permutation tests