This is the output from the dieharder random number testing program.
The script we used to run this is below - it kills any running rngd daemon, sets up the terminal device to 'raw' 'no echo' sends it "cmd0" and sets dieharder to run in the background - it may take over a month or a whole run
sudo killall rngd sudo chmod 777 /dev/ttyACM0 stty raw -echo </dev/ttyACM0 echo cmd0 >/dev/ttyACM0 nohup dieharder -g 201 -f /dev/ttyACM0 -a <cmd0.log& stty raw -echo </dev/ttyACM0
If you wish to rerun this test change 'ttyACM0' in the above to the device the system allocates to your OneRNG when you plug it in.
Remember we are testing a random number generator, if we're doing things right no two runs will ever produce the same results, this should be considered as a representative example of the output data.
Remember we are not trying to make, nor claim to produce, crytptographically perfect random numbers, our goal is to produce entropy for seeding system RNGs such as the one in the linux kernel's /dev/random, as you can see below there are a few failures, but overall the results are pretty good, we actually expected more WEAK results given that for 'cmd0' we're really feeding ~7.5 bits/byte of entropy weakly whitening it with a simple CRC to remove DC bias
Note: the "rands/second" in the header is measured in 32-bit units - it corresponds to 69k bytes/sec or 550k bits/sec - different command modes have different data rates which explains why this is higher than the normally quoted 350k bits/dec
Note: this output is incomplete, at publication date the test had been running for about a month, we'll update the results when it finishes
#=============================================================================# # dieharder version 3.31.1 Copyright 2003 Robert G. Brown # #=============================================================================# rng_name | filename |rands/second| file_input_raw| /dev/ttyACM0| 1.73e+04 | #=============================================================================# test_name |ntup| tsamples |psamples| p-value |Assessment #=============================================================================# diehard_birthdays| 0| 100| 100|0.99036565| PASSED diehard_operm5| 0| 1000000| 100|0.85177054| PASSED diehard_rank_32x32| 0| 40000| 100|0.47190543| PASSED diehard_rank_6x8| 0| 100000| 100|0.15857064| PASSED diehard_bitstream| 0| 2097152| 100|0.99118610| PASSED diehard_opso| 0| 2097152| 100|0.87835708| PASSED diehard_oqso| 0| 2097152| 100|0.76540452| PASSED diehard_dna| 0| 2097152| 100|0.31620265| PASSED diehard_count_1s_str| 0| 256000| 100|0.05091577| PASSED diehard_count_1s_byt| 0| 256000| 100|0.92911703| PASSED diehard_parking_lot| 0| 12000| 100|0.77335420| PASSED diehard_2dsphere| 2| 8000| 100|0.42793170| PASSED diehard_3dsphere| 3| 4000| 100|0.46977262| PASSED diehard_squeeze| 0| 100000| 100|0.24571359| PASSED diehard_sums| 0| 100| 100|0.05007058| PASSED diehard_runs| 0| 100000| 100|0.69951667| PASSED diehard_runs| 0| 100000| 100|0.32031135| PASSED diehard_craps| 0| 200000| 100|0.65763738| PASSED diehard_craps| 0| 200000| 100|0.83071290| PASSED marsaglia_tsang_gcd| 0| 10000000| 100|0.33407816| PASSED marsaglia_tsang_gcd| 0| 10000000| 100|0.49192005| PASSED sts_monobit| 1| 100000| 100|0.21938814| PASSED sts_runs| 2| 100000| 100|0.97190301| PASSED sts_serial| 1| 100000| 100|0.94337283| PASSED sts_serial| 2| 100000| 100|0.39039660| PASSED sts_serial| 3| 100000| 100|0.97080370| PASSED sts_serial| 3| 100000| 100|0.50177314| PASSED sts_serial| 4| 100000| 100|0.05705242| PASSED sts_serial| 4| 100000| 100|0.01192726| PASSED sts_serial| 5| 100000| 100|0.55539987| PASSED sts_serial| 5| 100000| 100|0.37494726| PASSED sts_serial| 6| 100000| 100|0.63321262| PASSED sts_serial| 6| 100000| 100|0.41530615| PASSED sts_serial| 7| 100000| 100|0.67965341| PASSED sts_serial| 7| 100000| 100|0.67320038| PASSED sts_serial| 8| 100000| 100|0.63546395| PASSED sts_serial| 8| 100000| 100|0.61201693| PASSED sts_serial| 9| 100000| 100|0.63233612| PASSED sts_serial| 9| 100000| 100|0.39493495| PASSED sts_serial| 10| 100000| 100|0.89119599| PASSED sts_serial| 10| 100000| 100|0.83764865| PASSED sts_serial| 11| 100000| 100|0.04179355| PASSED sts_serial| 11| 100000| 100|0.36430212| PASSED sts_serial| 12| 100000| 100|0.43137513| PASSED sts_serial| 12| 100000| 100|0.96076041| PASSED sts_serial| 13| 100000| 100|0.23273010| PASSED sts_serial| 13| 100000| 100|0.78592347| PASSED sts_serial| 14| 100000| 100|0.22860544| PASSED sts_serial| 14| 100000| 100|0.08602561| PASSED sts_serial| 15| 100000| 100|0.89850357| PASSED sts_serial| 15| 100000| 100|0.17533888| PASSED sts_serial| 16| 100000| 100|0.76887692| PASSED sts_serial| 16| 100000| 100|0.98249225| PASSED rgb_bitdist| 1| 100000| 100|0.00001100| WEAK rgb_bitdist| 2| 100000| 100|0.00000000| FAILED rgb_bitdist| 3| 100000| 100|0.03576077| PASSED rgb_bitdist| 4| 100000| 100|0.04442974| PASSED rgb_bitdist| 5| 100000| 100|0.32334654| PASSED rgb_bitdist| 6| 100000| 100|0.88730937| PASSED rgb_bitdist| 7| 100000| 100|0.57415360| PASSED rgb_bitdist| 8| 100000| 100|0.46898762| PASSED rgb_bitdist| 9| 100000| 100|0.17651993| PASSED rgb_bitdist| 10| 100000| 100|0.95292756| PASSED rgb_bitdist| 11| 100000| 100|0.23297706| PASSED rgb_bitdist| 12| 100000| 100|0.68595902| PASSED rgb_minimum_distance| 2| 10000| 1000|0.08037271| PASSED rgb_minimum_distance| 3| 10000| 1000|0.97038793| PASSED rgb_minimum_distance| 4| 10000| 1000|0.91130335| PASSED rgb_minimum_distance| 5| 10000| 1000|0.17542481| PASSED rgb_permutations| 2| 100000| 100|0.64149506| PASSED rgb_permutations| 3| 100000| 100|0.61305140| PASSED rgb_permutations| 4| 100000| 100|0.96575382| PASSED rgb_permutations| 5| 100000| 100|0.32499884| PASSED rgb_lagged_sum| 0| 1000000| 100|0.65255682| PASSED rgb_lagged_sum| 1| 1000000| 100|0.01965588| PASSED rgb_lagged_sum| 2| 1000000| 100|0.69863898| PASSED rgb_lagged_sum| 3| 1000000| 100|0.74587006| PASSED rgb_lagged_sum| 4| 1000000| 100|0.12807160| PASSED rgb_lagged_sum| 5| 1000000| 100|0.10995125| PASSED rgb_lagged_sum| 6| 1000000| 100|0.93102784| PASSED rgb_lagged_sum| 7| 1000000| 100|0.59305278| PASSED rgb_lagged_sum| 8| 1000000| 100|0.08419519| PASSED rgb_lagged_sum| 9| 1000000| 100|0.47253057| PASSED rgb_lagged_sum| 10| 1000000| 100|0.25564338| PASSED rgb_lagged_sum| 11| 1000000| 100|0.11410542| PASSED rgb_lagged_sum| 12| 1000000| 100|0.75205194| PASSED rgb_lagged_sum| 13| 1000000| 100|0.52558947| PASSED rgb_lagged_sum| 14| 1000000| 100|0.48073546| PASSED rgb_lagged_sum| 15| 1000000| 100|0.37802845| PASSED rgb_lagged_sum| 16| 1000000| 100|0.15626950| PASSED rgb_lagged_sum| 17| 1000000| 100|0.68062483| PASSED rgb_lagged_sum| 18| 1000000| 100|0.65994250| PASSED rgb_lagged_sum| 19| 1000000| 100|0.10339330| PASSED rgb_lagged_sum| 20| 1000000| 100|0.39619474| PASSED rgb_lagged_sum| 21| 1000000| 100|0.95834205| PASSED rgb_lagged_sum| 22| 1000000| 100|0.90970955| PASSED rgb_lagged_sum| 23| 1000000| 100|0.41564052| PASSED rgb_lagged_sum| 24| 1000000| 100|0.99993226| WEAK rgb_lagged_sum| 25| 1000000| 100|0.54424527| PASSED rgb_lagged_sum| 26| 1000000| 100|0.52606350| PASSED rgb_lagged_sum| 27| 1000000| 100|0.48133491| PASSED rgb_lagged_sum| 28| 1000000| 100|0.39446774| PASSED rgb_lagged_sum| 29| 1000000| 100|0.49318094| PASSED rgb_lagged_sum| 30| 1000000| 100|0.20061227| PASSED rgb_lagged_sum| 31| 1000000| 100|0.94164179| PASSED rgb_lagged_sum| 32| 1000000| 100|0.73310435| PASSED rgb_kstest_test| 0| 10000| 1000|0.95311131| PASSED dab_bytedistrib| 0| 51200000| 1|0.38232670| PASSED dab_dct| 256| 50000| 1|0.61491266| PASSED