Simple hardware RNG

I made a compromise comment on this issue of creating a hardware RNG.

Does anyone know of any simple plans, or can anyone describe a simple hardware RNG and software to manage it?

Go to Radio Shack. Buy a diode, an NTR resistor, a capacitor, and a serial cable. Cut the end of the serial cable that does not fit your computer. Solder the diode and resistor in series between the DTR and DSR pins of the cable. Solder the capacitor between the DSR and TXD pins. Write a small C program to do the following: Set the DTR to 1. Start the timer. Monitor the DSR until it moves to 1. Stop Timer. Calculate the resistance by the elapsed time. Extract a few bits from this value to use them as part of a random number. Repeat until enough bits are accumulated.

+3
source share
5 answers

Linux, /dev/random.

+2

- . Amplify, A/D convert sample.

+2

(Intel ). .

+1

, :

( )

" Intel 80802 RNG , . ( ) , . (. ). 100 000 /. 840, Intel. .

VIA C3 RNG 2003 . Freerunning, . XORed , . , , , . , RNG, . - . , . .

+1

, , , . FIPS 140 .

. 2n4124 , 9,6 (+ 5 USB, , ) .

0

Source: https://habr.com/ru/post/1713721/


All Articles