In September 2013, whistleblower Edward Snowden revealed that American and British intelligence companies had efficiently cracked a lot of the on-line encryption web customers used to maintain their private knowledge personal. Snowden’s answer appeared ironic to many: to undertake end-to-end encryption en masse, rendering mass surveillance prohibitively costly and cumbersome.
In end-to-end encryption, an algorithm converts readable knowledge (plaintext) to an unreadable type (ciphertext) using a string of numbers and letters known as a key. A person with the important thing can feed it into a decryption algorithm, which is able to use it to show ciphertext to plaintext. The success of any encryption methodology thus hinges on the secrecy of the important thing.
To forestall an unauthorised individual from guessing the important thing, it needs to be sufficiently random, i.e. missing predictable patterns.
How does one get a sufficiently random key? For cybersecurity firm Cloudflare, the reply lay in a funky 1963 invention: the lava lamp.

A lava lamp contains a glass container with blobs of wax suspended in water and positioned over an incandescent bulb. The warmth from the bulb melts the wax and causes droplets to stand up. As the droplets attain the highest of the container, they calm down and fall again to the underside, beginning the cycle as soon as once more. The rising droplets in a lava lamp don’t take the identical form twice. That is, the shapes are “consistently random”.
At Cloudflare’s headquarters in San Francisco within the US, the corporate has organized a hundred lava lamps on one among its partitions. A digital camera takes photos of the wall periodically, and computer systems convert every pixel within the picture into a numerical worth. Thus, every image generates a string of numbers (known as the seed) that’s then enter to an algorithm to generate an encryption key.

A shelf of lava lamps.
| Photo Credit:
Dean Hochman (CC BY)
There are two issues, nonetheless. One, even the “consistently random” actions of the lava lamp are decided in idea by the legal guidelines of thermodynamics, the department of physics that offers with how warmth strikes in a system (e.g. the glass container with water and wax) and how that impacts the properties of matter it accommodates. At least on paper, this makes the seed predictable.
Second, even when the seed is virtually random, the algorithm used to generate the bottom line is deterministic, i.e. not random. In different phrases, if a individual will get maintain of the seed, they’ll generate the very same key using the algorithm. This is why such algorithms, that are commonplace in most encryption methods in the present day, are known as pseudorandom number turbines.
True randomness has been elusive — however scientists have recognized for a while the place they might greatest hope to search out it: quantum mechanics, the place randomness abounds.
Quantum randomness
Quantum mechanics is the examine of how matter and mild behave within the atomic and subatomic realms. At these scales, the theories of physics are not capable of make predictions with certainty. As Gautam A. Kavuri, a quantum communication researcher on the University of Colorado, Boulder (CUB) within the US, put it, the “outcome of a measurement [in the quantum realm] cannot be known before a measurement is made”.
Consider the case of a photon, the particle of sunshine. Each photon has an oscillating electromagnetic discipline. The route during which the sphere oscillates is known as the photon’s polarisation. According to the legal guidelines of quantum mechanics, the polarisation of a photon could be each horizontal and vertical (or left and proper) till it’s measured — identical to a coin tossed within the air is each ‘heads’ and ‘tails’ till it lands. It is barely on the time of measurement that the polarisation turns into one of many two, and this alternative is random.
In a paper printed in Nature in June, Kavuri together with a group of researchers from the CUB and the National Institute of Standards and Technologies (NIST) in the identical metropolis have reported using this as a supply to generate actually random numbers.
Once generated, the group broadcasts the numbers publicly through the CU Randomness Beacon (CURBy): that is a public service the place receivers can decide up the numbers and use them of their functions.
While Kavuri et al. isn’t the primary group to press quantum phenomena within the service of producing random numbers, the method incorporates a cryptographic device known as blockchains of their protocol. This makes the method totally traceable and certifiable by unbiased events — making it the primary of its variety.

Calling the work “innovative”, quantum info idea researcher and University of New Orleans affiliate professor Peter Bierhorst stated “every step in the process, from harvesting the raw data (which is only somewhat random) to processing it down to a near-perfect (uniform) string of random bits, can be audited and verified.”
Bierhorst has labored prior to now with a few of the authors of the 2025 Nature paper however wasn’t related to the brand new examine.
Numbers from photons
The protocol within the check by Kavuri et al. begins on the NIST, the place a course of known as spontaneous parametric down-conversion is used to generate a pair of quantum entangled photons. The course of makes use of a particular materials known as a non-linear crystal to transform a photon with greater vitality to a pair of photons of decrease vitality. These photons are entangled, that means that even at nice distances, their properties are correlated.
Once the entangled photons are generated, they’re despatched in two totally different instructions to 2 laboratories at reverse ends of a corridor at NIST. There, the polarisation of those photons is measured. This course of is repeated 15 million instances in about one minute, and the polarisation state in every case is really random. This knowledge is handed to the CUB, the place the following step unfolds.
Almost 2 km away, on the CUB, a pc programme converts the information to a bit string, a sequence of zeroes and ones. At this stage, the string, whereas actually random, can also be biased: the frequency with which zeroes and ones happen just isn’t equal. This random-but-biased bit string is then processed by means of a mathematical operate known as a randomness extractor. This operate makes use of an unbiased random seed, obtained from a totally different random number generator known as DRAND and extracts from the biased bit string a uniformly unbiased random string of 512 bits.
DRAND is run by a confederation of many unbiased events around the globe, together with Cloudflare, Ethereum Foundation, and the Swiss Federal Technology Institute of Lausanne in Switzerland.
Building belief
Impressive because the protocol is, its novelty lies elsewhere.
For random number turbines which are used to encrypt and decrypt knowledge, belief has all the time been a problem. Sanjit Chatterjee, an info safety researcher and affiliate professor on the Indian Institute of Science, Bengaluru, defined: “Suppose I claim I have a random number generator. How do you verify or get a certificate stating that its output is truly random? Or that the protocol has not been tampered with?”
To surmount this situation, the group led by Kavuri built-in a blockchain of their protocol. In blockchain applied sciences, knowledge from totally different steps of a course of is saved in blocks which are linked to one another using the output of a mathematical algorithm known as a hash.
The hash algorithm converts a lengthy string of information to a string of fastened size known as the fingerprint. The fingerprint is uniquely linked to the enter knowledge; any tampering with the enter knowledge results in a considerably totally different fingerprint, which a verifying celebration can simply test and name out.
According to Chatterjee, “It is not possible to change the fingerprint at one step without changing the fingerprints of all the subsequent steps.”
Thus, by linking totally different blocks of information using totally different fingerprints, researchers are in a position to make sure that any tampering in a single step of the method might be mirrored within the fingerprints of all the following processes.
Kavuri and colleagues developed a blockchain protocol they known as ‘twine’ to “create a traceable … cryptographic contract between three parties” chargeable for a a part of the random number technology course of, they wrote of their paper.
The first celebration, NIST, supplied the uncooked bit string. The second celebration, CUB, ran the randomness extractor. The third celebration, DRAND, supplied the unbiased seed to the extractor. Each step of the method was marked with a hash fingerprint, and the fingerprints might be utilized by one of many three events or any person to confirm the integrity of the method.
“As long as all the parties are not compromised, we can be sure that the analysis and extraction is carried out correctly,” Kavuri stated.
‘Challenging proposition’
According to Chatterjee, the researchers have supplied a “prototype” that exhibits producing traceable random numbers “is possible in practice”.
“But if you think about the amount of random numbers generated in everyday operations, then this is nowhere near that stage,” he added.
Kavuri et al. said of their paper that they might generate 7,434 random numbers over a 40-day interval.
Bierhorst, the University of New Orleans quantum info theorist, added that the protocol requires “an intricate apparatus employing state-of-the-art optical components to create and manipulate the entangled photons” — which might be the beginning step for the protocol.
“Deploying this commercially is a challenging proposition,” he stated. He added that he expects it would take one other few years earlier than the protocol could be deployed broadly.
Kavuri, in the meantime, stated he was trying ahead to bringing extra events below the ambit of their twine protocol. “This will further decentralise trust in the random number generation process,” he stated.
Sayantan Datta is a college member at Krea University and an unbiased science journalist. The creator thanks Apoorva Patel and Shayan Srinivasa Garani for inputs.





