Search code examples
javarandomnoise

atmospheric noise and generating random numbers java


I was interested in finding out how one can use atmospheric noise to generate true random numbers. I know RANDOM.ORG does it but they (of course) don't explain what the process is and how it can be implemented. I would like to know how the process works and how it can be implemented into java. I have looked into this article but it's for .net so I don't understand it. I also looked into the RANDOM.ORG article on true randomness. If someone can give me a general idea of this works and how it can be implemented, it would be greatly appreciated.


Solution

  • You have to hook up a radio receiver into your machine (like this one: Philips FM1236/F TV Tuner/FM Radio/Video PCI Capture Card ).

    Plug it into a free PCI Slot, you should be able to test its workings with some audio listening device (like VLC Player).

    Then you tune it to a non-sending frequency and have your program connect to the device its representing to make a audio capture (the correct way to do so depends on the card you use, but this will help: http://docs.oracle.com/javase/tutorial/sound/capturing.html )

    Then you process the audio capture, in the most simple way: store it as a wave onto your disk and read it byte per byte.