3 ms·
Worse : the quality pf the HW RNG will degrade steadily over time. There are much better and stabler ways to generate noise with analog circuits . FPGA ba
by ur-whale 3y ago
Worse : the quality pf the HW RNG will degrade steadily over time.
There are much better and stabler ways to generate noise with analog circuits
. FPGA based inverting gates ring oscillator, which when sampled with a proper crystal-based clock produce noise because the ring oscillator phase-drifts
. thermal noise in a tiny resistor, amplified, the method used by intel chips for their built-in hw gen instruction
. infinite rng, mentioned elsewhere in the thread
. this one (NSFW, the author is weird, but the circuit is interesting, uses comparator hysteresis instability):
http://nosuchlabs.com/fg/fg.png
http://nosuchlabs.com/fg/trng_tw.png
Note that many of these RNG produce very crappy random numbers from a uniformity perspective (distribution is rarely uniform).
Also note: the fabled von neumann method to uniformize the output has one giant drawback: you lose any guarantee of sustained bandwidth.
Also, also note: however crappy the quality of the bitstream generated, using it to regularly seed a crypto hard hashing algorithm will give you very uniform and practically unguessable stream of random bits, way better than the von neumann thing.
Here's a compendium of HWRNGs:
https://github.com/atoponce/awesome-hwrng https://github.com/atoponce/awesome-hwrng