Skip to content

Instantly share code, notes, and snippets.

@kosaki kosaki/securerandom
Created Jan 2, 2016

Embed
What would you like to do?
$ dieharder -a -f securerandom.bin
#=============================================================================#
# dieharder version 3.31.1 Copyright 2003 Robert G. Brown #
#=============================================================================#
rng_name | filename |rands/second|
mt19937| securerandom.bin| 1.21e+08 |
#=============================================================================#
test_name |ntup| tsamples |psamples| p-value |Assessment
#=============================================================================#
diehard_birthdays| 0| 100| 100|0.47983538| PASSED
diehard_operm5| 0| 1000000| 100|0.20590274| PASSED
diehard_rank_32x32| 0| 40000| 100|0.42485981| PASSED
diehard_rank_6x8| 0| 100000| 100|0.40780145| PASSED
diehard_bitstream| 0| 2097152| 100|0.34501068| PASSED
diehard_opso| 0| 2097152| 100|0.29802091| PASSED
diehard_oqso| 0| 2097152| 100|0.58748050| PASSED
diehard_dna| 0| 2097152| 100|0.54526099| PASSED
diehard_count_1s_str| 0| 256000| 100|0.99198251| PASSED
diehard_count_1s_byt| 0| 256000| 100|0.15922786| PASSED
diehard_parking_lot| 0| 12000| 100|0.30748567| PASSED
diehard_2dsphere| 2| 8000| 100|0.25626787| PASSED
diehard_3dsphere| 3| 4000| 100|0.67368133| PASSED
diehard_squeeze| 0| 100000| 100|0.96329218| PASSED
diehard_sums| 0| 100| 100|0.00017929| WEAK
diehard_runs| 0| 100000| 100|0.78918379| PASSED
diehard_runs| 0| 100000| 100|0.73317781| PASSED
diehard_craps| 0| 200000| 100|0.86675416| PASSED
diehard_craps| 0| 200000| 100|0.71793613| PASSED
marsaglia_tsang_gcd| 0| 10000000| 100|0.73225772| PASSED
marsaglia_tsang_gcd| 0| 10000000| 100|0.58616556| PASSED
sts_monobit| 1| 100000| 100|0.04522015| PASSED
sts_runs| 2| 100000| 100|0.51942978| PASSED
sts_serial| 1| 100000| 100|0.14832494| PASSED
sts_serial| 2| 100000| 100|0.62348900| PASSED
sts_serial| 3| 100000| 100|0.69435180| PASSED
sts_serial| 3| 100000| 100|0.60334792| PASSED
sts_serial| 4| 100000| 100|0.40335360| PASSED
sts_serial| 4| 100000| 100|0.26295435| PASSED
sts_serial| 5| 100000| 100|0.71038691| PASSED
sts_serial| 5| 100000| 100|0.66648472| PASSED
sts_serial| 6| 100000| 100|0.14451527| PASSED
sts_serial| 6| 100000| 100|0.55945786| PASSED
sts_serial| 7| 100000| 100|0.08144071| PASSED
sts_serial| 7| 100000| 100|0.07153084| PASSED
sts_serial| 8| 100000| 100|0.42245035| PASSED
sts_serial| 8| 100000| 100|0.34914576| PASSED
sts_serial| 9| 100000| 100|0.94227804| PASSED
sts_serial| 9| 100000| 100|0.83340020| PASSED
sts_serial| 10| 100000| 100|0.14421942| PASSED
sts_serial| 10| 100000| 100|0.37380921| PASSED
sts_serial| 11| 100000| 100|0.47510470| PASSED
sts_serial| 11| 100000| 100|0.56191924| PASSED
sts_serial| 12| 100000| 100|0.68255503| PASSED
sts_serial| 12| 100000| 100|0.86632911| PASSED
sts_serial| 13| 100000| 100|0.31300518| PASSED
sts_serial| 13| 100000| 100|0.02915789| PASSED
sts_serial| 14| 100000| 100|0.01392687| PASSED
sts_serial| 14| 100000| 100|0.02929649| PASSED
sts_serial| 15| 100000| 100|0.25821390| PASSED
sts_serial| 15| 100000| 100|0.14946012| PASSED
sts_serial| 16| 100000| 100|0.78430125| PASSED
sts_serial| 16| 100000| 100|0.94052779| PASSED
rgb_bitdist| 1| 100000| 100|0.74237500| PASSED
rgb_bitdist| 2| 100000| 100|0.82776175| PASSED
rgb_bitdist| 3| 100000| 100|0.13235491| PASSED
rgb_bitdist| 4| 100000| 100|0.36168563| PASSED
rgb_bitdist| 5| 100000| 100|0.68303327| PASSED
rgb_bitdist| 6| 100000| 100|0.82666876| PASSED
rgb_bitdist| 7| 100000| 100|0.74385458| PASSED
rgb_bitdist| 8| 100000| 100|0.70054371| PASSED
rgb_bitdist| 9| 100000| 100|0.94868900| PASSED
rgb_bitdist| 10| 100000| 100|0.04102762| PASSED
rgb_bitdist| 11| 100000| 100|0.75472058| PASSED
rgb_bitdist| 12| 100000| 100|0.93847843| PASSED
rgb_minimum_distance| 2| 10000| 1000|0.95149406| PASSED
rgb_minimum_distance| 3| 10000| 1000|0.30255583| PASSED
rgb_minimum_distance| 4| 10000| 1000|0.79848468| PASSED
rgb_minimum_distance| 5| 10000| 1000|0.07147538| PASSED
rgb_permutations| 2| 100000| 100|0.31313618| PASSED
rgb_permutations| 3| 100000| 100|0.57401629| PASSED
rgb_permutations| 4| 100000| 100|0.20106520| PASSED
rgb_permutations| 5| 100000| 100|0.01980512| PASSED
rgb_lagged_sum| 0| 1000000| 100|0.15231255| PASSED
rgb_lagged_sum| 1| 1000000| 100|0.11883409| PASSED
rgb_lagged_sum| 2| 1000000| 100|0.94242454| PASSED
rgb_lagged_sum| 3| 1000000| 100|0.27480211| PASSED
rgb_lagged_sum| 4| 1000000| 100|0.96311197| PASSED
rgb_lagged_sum| 5| 1000000| 100|0.66802184| PASSED
rgb_lagged_sum| 6| 1000000| 100|0.29379974| PASSED
rgb_lagged_sum| 7| 1000000| 100|0.39416802| PASSED
rgb_lagged_sum| 8| 1000000| 100|0.13931771| PASSED
rgb_lagged_sum| 9| 1000000| 100|0.33935779| PASSED
rgb_lagged_sum| 10| 1000000| 100|0.07128772| PASSED
rgb_lagged_sum| 11| 1000000| 100|0.67464828| PASSED
rgb_lagged_sum| 12| 1000000| 100|0.70468159| PASSED
rgb_lagged_sum| 13| 1000000| 100|0.98804012| PASSED
rgb_lagged_sum| 14| 1000000| 100|0.98301553| PASSED
rgb_lagged_sum| 15| 1000000| 100|0.48130202| PASSED
rgb_lagged_sum| 16| 1000000| 100|0.07412642| PASSED
rgb_lagged_sum| 17| 1000000| 100|0.83715560| PASSED
rgb_lagged_sum| 18| 1000000| 100|0.17446306| PASSED
rgb_lagged_sum| 19| 1000000| 100|0.37243837| PASSED
rgb_lagged_sum| 20| 1000000| 100|0.83488603| PASSED
rgb_lagged_sum| 21| 1000000| 100|0.22658446| PASSED
rgb_lagged_sum| 22| 1000000| 100|0.47381442| PASSED
rgb_lagged_sum| 23| 1000000| 100|0.71350039| PASSED
rgb_lagged_sum| 24| 1000000| 100|0.33186164| PASSED
rgb_lagged_sum| 25| 1000000| 100|0.93780978| PASSED
rgb_lagged_sum| 26| 1000000| 100|0.11559991| PASSED
rgb_lagged_sum| 27| 1000000| 100|0.88049175| PASSED
rgb_lagged_sum| 28| 1000000| 100|0.04108580| PASSED
rgb_lagged_sum| 29| 1000000| 100|0.77548705| PASSED
rgb_lagged_sum| 30| 1000000| 100|0.58091342| PASSED
rgb_lagged_sum| 31| 1000000| 100|0.29755027| PASSED
rgb_lagged_sum| 32| 1000000| 100|0.93875745| PASSED
rgb_kstest_test| 0| 10000| 1000|0.67496386| PASSED
dab_bytedistrib| 0| 51200000| 1|0.28703923| PASSED
dab_dct| 256| 50000| 1|0.80217524| PASSED
Preparing to run test 207. ntuple = 0
dab_filltree| 32| 15000000| 1|0.30980510| PASSED
dab_filltree| 32| 15000000| 1|0.91248183| PASSED
Preparing to run test 208. ntuple = 0
dab_filltree2| 0| 5000000| 1|0.11142887| PASSED
dab_filltree2| 1| 5000000| 1|0.46431609| PASSED
Preparing to run test 209. ntuple = 0
dab_monobit2| 12| 65000000| 1|0.88259548| PASSED
$ dieharder -a -f urandom.bin
#=============================================================================#
# dieharder version 3.31.1 Copyright 2003 Robert G. Brown #
#=============================================================================#
rng_name | filename |rands/second|
mt19937| urandom.bin| 1.11e+08 |
#=============================================================================#
test_name |ntup| tsamples |psamples| p-value |Assessment
#=============================================================================#
diehard_birthdays| 0| 100| 100|0.35443634| PASSED
diehard_operm5| 0| 1000000| 100|0.23945606| PASSED
diehard_rank_32x32| 0| 40000| 100|0.69320257| PASSED
diehard_rank_6x8| 0| 100000| 100|0.45807814| PASSED
diehard_bitstream| 0| 2097152| 100|0.47562758| PASSED
diehard_opso| 0| 2097152| 100|0.94661983| PASSED
diehard_oqso| 0| 2097152| 100|0.93183584| PASSED
diehard_dna| 0| 2097152| 100|0.46414883| PASSED
diehard_count_1s_str| 0| 256000| 100|0.22451609| PASSED
diehard_count_1s_byt| 0| 256000| 100|0.22935322| PASSED
diehard_parking_lot| 0| 12000| 100|0.66912419| PASSED
diehard_2dsphere| 2| 8000| 100|0.59370717| PASSED
diehard_3dsphere| 3| 4000| 100|0.72288601| PASSED
diehard_squeeze| 0| 100000| 100|0.04340441| PASSED
diehard_sums| 0| 100| 100|0.02229231| PASSED
diehard_runs| 0| 100000| 100|0.76127644| PASSED
diehard_runs| 0| 100000| 100|0.01392397| PASSED
diehard_craps| 0| 200000| 100|0.89249415| PASSED
diehard_craps| 0| 200000| 100|0.18373295| PASSED
marsaglia_tsang_gcd| 0| 10000000| 100|0.82296861| PASSED
marsaglia_tsang_gcd| 0| 10000000| 100|0.21570817| PASSED
sts_monobit| 1| 100000| 100|0.71132979| PASSED
sts_runs| 2| 100000| 100|0.29916457| PASSED
sts_serial| 1| 100000| 100|0.44514660| PASSED
sts_serial| 2| 100000| 100|0.15538064| PASSED
sts_serial| 3| 100000| 100|0.44916953| PASSED
sts_serial| 3| 100000| 100|0.87878925| PASSED
sts_serial| 4| 100000| 100|0.95997486| PASSED
sts_serial| 4| 100000| 100|0.76761377| PASSED
sts_serial| 5| 100000| 100|0.16783686| PASSED
sts_serial| 5| 100000| 100|0.02415414| PASSED
sts_serial| 6| 100000| 100|0.28060747| PASSED
sts_serial| 6| 100000| 100|0.74812051| PASSED
sts_serial| 7| 100000| 100|0.68635378| PASSED
sts_serial| 7| 100000| 100|0.89216069| PASSED
sts_serial| 8| 100000| 100|0.41466737| PASSED
sts_serial| 8| 100000| 100|0.88604492| PASSED
sts_serial| 9| 100000| 100|0.45570562| PASSED
sts_serial| 9| 100000| 100|0.76089205| PASSED
sts_serial| 10| 100000| 100|0.99205539| PASSED
sts_serial| 10| 100000| 100|0.30596974| PASSED
sts_serial| 11| 100000| 100|0.70036819| PASSED
sts_serial| 11| 100000| 100|0.08414619| PASSED
sts_serial| 12| 100000| 100|0.22850681| PASSED
sts_serial| 12| 100000| 100|0.93518882| PASSED
sts_serial| 13| 100000| 100|0.84316212| PASSED
sts_serial| 13| 100000| 100|0.54161847| PASSED
sts_serial| 14| 100000| 100|0.75877310| PASSED
sts_serial| 14| 100000| 100|0.65921447| PASSED
sts_serial| 15| 100000| 100|0.67118400| PASSED
sts_serial| 15| 100000| 100|0.61657294| PASSED
sts_serial| 16| 100000| 100|0.99918739| WEAK
sts_serial| 16| 100000| 100|0.40790641| PASSED
rgb_bitdist| 1| 100000| 100|0.96913347| PASSED
rgb_bitdist| 2| 100000| 100|0.93042246| PASSED
rgb_bitdist| 3| 100000| 100|0.85384102| PASSED
rgb_bitdist| 4| 100000| 100|0.91900160| PASSED
rgb_bitdist| 5| 100000| 100|0.45497554| PASSED
rgb_bitdist| 6| 100000| 100|0.49661499| PASSED
rgb_bitdist| 7| 100000| 100|0.02858306| PASSED
rgb_bitdist| 8| 100000| 100|0.40038619| PASSED
rgb_bitdist| 9| 100000| 100|0.96371418| PASSED
rgb_bitdist| 10| 100000| 100|0.78243005| PASSED
rgb_bitdist| 11| 100000| 100|0.22544379| PASSED
rgb_bitdist| 12| 100000| 100|0.64566748| PASSED
rgb_minimum_distance| 2| 10000| 1000|0.74044383| PASSED
rgb_minimum_distance| 3| 10000| 1000|0.88977743| PASSED
rgb_minimum_distance| 4| 10000| 1000|0.28147342| PASSED
rgb_minimum_distance| 5| 10000| 1000|0.34366900| PASSED
rgb_permutations| 2| 100000| 100|0.87043617| PASSED
rgb_permutations| 3| 100000| 100|0.74306226| PASSED
rgb_permutations| 4| 100000| 100|0.73895932| PASSED
rgb_permutations| 5| 100000| 100|0.34085374| PASSED
rgb_lagged_sum| 0| 1000000| 100|0.10815051| PASSED
rgb_lagged_sum| 1| 1000000| 100|0.98795019| PASSED
rgb_lagged_sum| 2| 1000000| 100|0.01788291| PASSED
rgb_lagged_sum| 3| 1000000| 100|0.06969360| PASSED
rgb_lagged_sum| 4| 1000000| 100|0.84545516| PASSED
rgb_lagged_sum| 5| 1000000| 100|0.87328744| PASSED
rgb_lagged_sum| 6| 1000000| 100|0.31704805| PASSED
rgb_lagged_sum| 7| 1000000| 100|0.13210920| PASSED
rgb_lagged_sum| 8| 1000000| 100|0.08171672| PASSED
rgb_lagged_sum| 9| 1000000| 100|0.04450725| PASSED
rgb_lagged_sum| 10| 1000000| 100|0.73633908| PASSED
rgb_lagged_sum| 11| 1000000| 100|0.99898481| WEAK
rgb_lagged_sum| 12| 1000000| 100|0.25868271| PASSED
rgb_lagged_sum| 13| 1000000| 100|0.76550776| PASSED
rgb_lagged_sum| 14| 1000000| 100|0.13487732| PASSED
rgb_lagged_sum| 15| 1000000| 100|0.54221446| PASSED
rgb_lagged_sum| 16| 1000000| 100|0.47223363| PASSED
rgb_lagged_sum| 17| 1000000| 100|0.12974833| PASSED
rgb_lagged_sum| 18| 1000000| 100|0.81656098| PASSED
rgb_lagged_sum| 19| 1000000| 100|0.70140119| PASSED
rgb_lagged_sum| 20| 1000000| 100|0.59072783| PASSED
rgb_lagged_sum| 21| 1000000| 100|0.54207887| PASSED
rgb_lagged_sum| 22| 1000000| 100|0.26802560| PASSED
rgb_lagged_sum| 23| 1000000| 100|0.29550395| PASSED
rgb_lagged_sum| 24| 1000000| 100|0.51904270| PASSED
rgb_lagged_sum| 25| 1000000| 100|0.56063273| PASSED
rgb_lagged_sum| 26| 1000000| 100|0.25831339| PASSED
rgb_lagged_sum| 27| 1000000| 100|0.88361899| PASSED
rgb_lagged_sum| 28| 1000000| 100|0.86331011| PASSED
rgb_lagged_sum| 29| 1000000| 100|0.75483511| PASSED
rgb_lagged_sum| 30| 1000000| 100|0.59032058| PASSED
rgb_lagged_sum| 31| 1000000| 100|0.04410622| PASSED
rgb_lagged_sum| 32| 1000000| 100|0.66619028| PASSED
rgb_kstest_test| 0| 10000| 1000|0.47245409| PASSED
dab_bytedistrib| 0| 51200000| 1|0.19026625| PASSED
dab_dct| 256| 50000| 1|0.60001132| PASSED
Preparing to run test 207. ntuple = 0
dab_filltree| 32| 15000000| 1|0.50435735| PASSED
dab_filltree| 32| 15000000| 1|0.54875491| PASSED
Preparing to run test 208. ntuple = 0
dab_filltree2| 0| 5000000| 1|0.22372623| PASSED
dab_filltree2| 1| 5000000| 1|0.08408479| PASSED
Preparing to run test 209. ntuple = 0
dab_monobit2| 12| 65000000| 1|0.59116586| PASSED
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.