Tag Archive: random numbers

This project refers to an Arduino sketch that implements a true random number generator with the help of an audio sensor. The sensor measures the sound volume in the nearby environment. The Arduino acts as a network device with an appropriate WEB interface in it from which we can access the random numbers. This technology is not new as it exists in other network devices. For example, routers or network printers have a WEB interface.

The WEB interface is installed in the Arduino itself and is supported with the help of a simple but quite progressive web server (which is also located within the Arduino). The Arduino is connected to the Internet with a special Ethernet card (Ethernet Shield). The Ethernet card is assigned with a static IP (because the Arduino in this case does not work as a client but as a server since the web server is executed there at port 80).

To enable the sound sensor to collect really random values as regards the volume of sound in the environment, it helps to place it in a noisy room or near a radio.

Continue reading

Before I mention the function that I have developed for the production of random numbers from the monolithic Linux kernel, I would first like to say something about the issue of random numbers.

The issue of producing truly random numbers is important and had even since the beginning puzzled computer scientists. In mathematics, it is very difficult to define the random and, generally, randomness is very difficult to prove with no assumptions. In the past, many scientists tried to develop mathematical models and algorithms to develop random number generators.

One of the greatest scientists of Computer Science, John von Neumann (the basic idea of the architecture of all computer systems today was his own design) jokingly said: ‘Anyone who considers arithmetical methods of producing random digits is, of course, in a state of sin.’.

Continue reading