All,
For your interest, a hardware random number generator with code to produce random numbers from it. Uses 3 NPN transistors and one pin for the data (white noise) stream input.
Example code carrys out some testing of the E-Lab library RNG, an alternative software RNG and the hardware RNG.
The real advantage of the hardware RNG lies in that it has no seed, does not produce a fixed series of results, does not require any randomisation to perform. But I would take care if you are going to use it for any "serious" encryption.
References given in the source file.
(I would suggest E-Lab look at the performance of the library random function as shown by the testing carried out.)
Comments, corrections etc welcome.
Enjoy! Happy New Year to everyone!
For your interest, a hardware random number generator with code to produce random numbers from it. Uses 3 NPN transistors and one pin for the data (white noise) stream input.
Example code carrys out some testing of the E-Lab library RNG, an alternative software RNG and the hardware RNG.
The real advantage of the hardware RNG lies in that it has no seed, does not produce a fixed series of results, does not require any randomisation to perform. But I would take care if you are going to use it for any "serious" encryption.
References given in the source file.
(I would suggest E-Lab look at the performance of the library random function as shown by the testing carried out.)
Comments, corrections etc welcome.
Enjoy! Happy New Year to everyone!
You must be logged in or your permissions are to low to see this Attachment(s).