The modern computer age runs on random numbers . Patternless strings of finger are essential for the data encoding that call privacy and security system online . And since computers — basically deterministic machines designed to observe rig subroutine — cannot birth true randomness , we must source our entropy from the physical humankind .
A random number generator ( RNG ) that taps into the inherent randomness of a physical process typically consist of ( 1 ) a transducer to convert some aspect of the physical phenomenon into an electrical signaling ; ( 2 ) an amplifier to boost the amplitude of random fluctuations to a measurable storey ; and ( 3 ) an analog - to - digital convertor . Here ’s a sampling of the real - world sources of randomness we ’ve overwork over the years .
1. DICE
First a nod to a scurvy - tech RNG : die ! Small throwable objects with multiple resting stead have been generating random numbers at least since 2500 BCE , when Mesopotamians playing theRoyal Game of Urtossed tetrahedron . The ancient Egyptians and Indians also enjoyed dice , as did the Romans . Impressive as thisRoman 2nd century icosahedral ( 20 - sided ) dieis , however , we can dosix times well now . want a random number between 1 and 120 ? Anyone ?
As long as they ’re not loaded and nothing in the surround ( or means of tossing ) favors certain effect over others , dice are a reliable way to produce mostly random finger’s breadth . The going is deadening , though .
2. ELECTRONIC ROULETTE WHEEL
To fuel its postwar appetite for random numbers , the RAND Corporation needed more than dice—120 - sided or otherwise . In 1947 , engineers devised an electronic pretending of a roulette wheel , which they connected to an other computer . The setup churned out numbers at a charge per unit of about one per second , finally producing enough to fill — after filtering , processing , and testing — RAND ’s 1955 publicationA Million Random Digits with 100,000 Normal Deviates . Though the book ’s mental object were primarily useful in statistic and observational design , its title of respect seems to have baffle the New York Public Library , which reportedly index the random identification number table under the “ psychological science ” heading . The tongue - in - cheekAmazon followup of the 2001 reissueare also ripe for a laugh .
3. RADIOACTIVE ELEMENTS
A caesium- or cesium-137 nucleus can , via a process calledbeta decay , become a barium-137 core , liberating an negatron as it does so . And the law of quantum mechanics rule that there ’s no way to differentiate when a given cell nucleus of caesium-137 will crumble ; no room to severalize , leave a collection of caesium-137 cell nucleus , when the next individual atom in the chemical group will decay ; and thus no way to tell apart how the interval between straight decline will liken . Autodesk co - founder John Walker harness this quantum randomness to createHotBits , an online resource that furnishes exploiter with “ unfeigned random numbers pool ” by measuring a pair of intervals between caesium-137 disintegration and let loose a zero or one bit based on the relative duration of the two intervals .
4. LAVA LITE
In 1996 , Landon Noll , Robert Mende , and Sanjeev Sisodiya of Silicon Graphics , Inc. filed a letters patent ( US 5732138 ) for a “ method acting for seeding a pseudo - random number generator with a cryptographic hash of a digitization of a chaotic system . ” The chaotic system of rules in question ? A LAVA LITE , its blobs of colored wax set in irregular motion by the warmth of the incandescent lightbulb in its conical base . Dubbed lavarand , the patented system used a digital photograph of a lava lamp to generate a 140 - byte ejaculate for a pseudo - random number author . The lavarand site has been inactive since 2001 , itsarchived versionsadly devoid of trippy imagery .
5. ATMOSPHERIC NOISE
In 1997 , Mads Haahr and some friends walked into a Radio Shack and recount the sales guy they necessitate the punk radio he had . They wanted their computer to listen to atmospheric static , they explained . Haahr et al . had determine to source entropy for random number generation from a wireless pick up atmospheric disturbance . Atmospheric haphazardness is radio noise triggered by natural atmospheric processes , principally lightning discharges in thunderstorms . They needed the cheapest radio usable because many units have stochasticity filter that only permit users to strain to frequency that station are using to disperse .
Almost 20 years later , Haahr’sRandom.orgstill swear on atmospherical noise to advance its “ mission … to produce the gamy quality true random phone number and make them available to the worldly concern in useful shape . ” Website visitors practice Random.org ’s numbers to have drawing , to drive on-line game , and for lotteries , sweepstakes , and scientific applications .
Some argue , it ’s worth observe , that only quantum phenomenon — that beta decomposition in # 3 above , for example — are truly nondeterministic . Proponents of RNGs that rely on physical phenomena without quantum - random prop ( atmospheric noise , say , or lava lamp ) counter that these phenomenon are complex and chaotic enough to make it infeasible for humans to forecast their behavior . stochasticity testscan also be performed to certify the output of these RNGs .

6. CAPPED WEBCAM
The lavarand surgical process ( see # 4 above ) went dark in the early aught because Landon Noll and a new collaborator , Simon Cooper , had invented an improved RNG : LavaRnd . Instead of lava lamps , LavaRnd use a webcam with the lens chapiter on as the source of entropy . The caloric interference emitted by the webcam is digitized and strip of any undesirable predictability . Unlike lavarand , LavaRnd is patent - free , open - source , and in the public domain . As NolltoldWIREDin 2003 , “ We ’re endeavor to give people the ability to bring forth random numbers themselves . ”
7. LASERS
In 2015 , You - Qi Nie and colleagues at China ’s Hefei National Laboratory for Physical Sciencesannouncedthat they ’d machinate a quantum RNG capable of yielding 68 billion random mo per second .
get that big turn sinkhole in .
This when the immobile commercially available quantum RNGs could only produce a million morsel per second . These generators work by sending a stream of photons through a beam divider with a 50 - 50 chance of transmission and expression . The series of transmissions and reflections is then translate into a string of 0 ’s and 1 ’s . Single photon sensing element can only notice so tight , however , and the equipment ’s limitations cap the speed of bit production .
To achieve their disk - shattering rate , the Chinese physicists operate their optical maser at its door level . This enables them to measure photon generated by spontaneous emanation , an entirely random quantum process . An interferometer converts fluctuations in the stage of these photon to intensity changes , which are then measured by photodetectors . And since photodetectors work much faster than those plodder single photon detectors , voila ! As theMIT Technology Reviewput it , “ governance that demand a practical scheme that offers secrecy guarantee by the laws of quantum physic may not have much long to hold off . ”