--> ap/xxxxx

__

More hardware RNG: (tech_notes2#34)

Code updated (bug in serial code produced extra carriage returns 0x0d.

http://1010.co.uk/noise_ser1.c

and a different scheme for unbiasing (for the moment without XOR of alternate ones and zeroes).

Using baudline for quick histogram and raw file analysis:

http://www.baudline.com/manual/open_file.html

1] input -> open file -> format raw

2] set options and make use of option

Test results under ent:

http://www.fourmilab.ch/random/

Entropy = 7.997799 bits per byte.

Optimum compression would reduce the size
of this 84058 byte file by 0 percent.

Chi square distribution for 84058 samples is 257.79, and randomly
would exceed this value 43.93 percent of the times.

Arithmetic mean value of data bytes is 127.5481 (127.5 = random).
Monte Carlo value for Pi is 3.127132558 (error 0.46 percent).
Serial correlation coefficient is -0.000152 (totally uncorrelated =
0.0).

Further Links:

http://warmcat.com/_wp/2007/11/07/adding-entropy-to-devrandom/

http://www.stat.fsu.edu/pub/diehard/

http://www.freewebs.com/pmutaf/iwrandom.html

http://www.robertnz.net/hwrng.htm

http://pheatt.emporia.edu/projects/hardwareRNG/index.html