Hacker News new | ask | show | jobs
by ncmncm 1506 days ago
It is amazing how much difficulty people made for themselves in creating random numbers. But people still do. I know somebody who, all in earnest, rolls physical dice to get entropy.

Back then, it would have sufficed to drive a counter from a megahertz oscillator, and take a sample of the low bits each time somebody pushed a button. They could even have collected samples while somebody typed unrelated text.

Nowadays, of course, everything has a camera on board, and you can just hash the collection of least-significant bits from any image snapped from the camera, regardless what it is pointing at. Or, the low bits off an audio sample, even with nothing plugged in.