How do I get random #s?

Brad Brown bradb at ai.toronto.edu
Mon Feb 13 04:24:37 AEST 1989


>In article <225800121 at uxe.cso.uiuc.edu>, mcdonald at uxe.cso.uiuc.edu writes:
>I hooked an ADC converter and a hot resistor to my computer and xor'ed the 
>results from it with rand(). This gives me about 10000 really random numbers
>a second. It is not trivial to get REALLLY random numbers out of such
>a setup, but it can be done.


I'm curious -- how do you ensure the spectral purity of the signal that
you sample with the ADC?  Also how do you calibrate the measurement so
that the samples are uniformly distributed over the *entire* dynamic
range of the ADC?

					(-:  Brad Brown  :-)
					bradb at ai.toronto.edu




More information about the Comp.lang.c mailing list