Randomness Testing Guide
random.tastemaker.design
Randomness Testing Guide
1–10 of 11 posts
Re: Randomness Testing Guide
#2Strange.
(0110100001100101011011000110110001101111001000000111011101101111011100100110110001100100)
Re: Randomness Testing Guide
#3If you take the UTF-8 binary for “hello world” and paste it there, it passes 4 out of 5 randomness tests. Strange. (0110100001100101011011000110110001101111001000000111011101101111011100100110110001100100)
Re: Randomness Testing Guide
#4Re: Randomness Testing Guide
#5If you take the UTF-8 binary for “hello world” and paste it there, it passes 4 out of 5 randomness tests. Strange. (0110100001100101011011000110110001101111001000000111011101101111011100100110110001100100)
Re: Randomness Testing Guide
#6This is how Fisher critiqued Mendel's experiments -- they were too perfect!
Re: Randomness Testing Guide
#7Robert Brown has a page with a bunch of info about dieharder and statistical testing of random generators in general [2]
Re: Randomness Testing Guide
#8I'm not sure whether it's still the case, but the state of the art some twenty years ago when I generated a random stream and wanted to test it, was the "diehard" suite[1] which started as an implementation of the tests suggested by Knuth in TAOCP and then was expanded from there. The version I had was in C that had been autogenerated by the gnu fortran complier from a fortran original, so the source code was even mo…
Re: Randomness Testing Guide
#9I'm not sure whether it's still the case, but the state of the art some twenty years ago when I generated a random stream and wanted to test it, was the "diehard" suite[1] which started as an implementation of the tests suggested by Knuth in TAOCP and then was expanded from there. The version I had was in C that had been autogenerated by the gnu fortran complier from a fortran original, so the source code was even mo…
So I wrote a little "additional entropy daemon" that would read things like CPU temperature fluctuations, signal noise on soundcards if installed etc (I forget them all exactly but there were a few), "bleach them" so they had reasonable statistical properties (eg the soundcard one before bleaching was almost all zeros with just occasional spikes in it so you want that to be normalized a bit) mix them together somewhat chaotically and then feed them into the sponge function with a relatively low entropy estimate. This meant our servers wouldn't block. I used diehard to test the randomness of the sources I was using before and after the mixing.
The bug got fixed and people generally got comfortable using /dev/urandom rather than /dev/random, so my little process moved on to live on a farm with other daemon processes that were retired from use. I don't even have the source code any more.
Re: Randomness Testing Guide
#10If you take the UTF-8 binary for “hello world” and paste it there, it passes 4 out of 5 randomness tests. Strange. (0110100001100101011011000110110001101111001000000111011101101111011100100110110001100100)
It is very easy for short strings to pass most of the tests.