I wanted to spot check the quality of the random numbers generated by
NOISE.SYS
I read that:
> Statistically testing a PRNG requires quite a lot (10 or even 100 GB)
AND
> All tests of RNGs are based on a "null hypothesis", meaning if they
> fail, they show the RNG may be flawed. But if they pass, it does
> not mean it is good.
Keeping these in mind, i decided that ENT was good enough for me.
ENT home page
ENT DJGPP build
Comparing the resulting Chi-square percentages:
* Linux has 93.44% (almost suspect) and
* NOISE.SYS has 97.88% (suspect).
This seems to indicate a problem in NOISE.SYS.
I'm a hacker not a cryptographer, so i don't know how to fix it.
Linux
=====
$ dd if=/dev/random of=linux.dat bs=1024 count=1024
$ ent busy.bat
C:\NOISE>sample.exe noise.dat 1048576 -ar
Repeat this hundreds of times until noise.dat reaches the desired size.
C:\ENT>ent