Why do Cloudflare and other companies go to such lengths to produce reliable random numbers?

“The reason you need randomness is you need unpredictability. You need an attacker not to be able to guess some important part of the communication,” Graham-Cumming explains. And this, ultimately, is the problem with computers and humans; both are just too predictable.

🎧 For more intel on unpredictability, listen to the Quartz Obsession podcast episode on true randomness. Or subscribe via: Apple Podcasts | Spotify | Google | Stitcher.

Computers use a random number generator, initiated with a starting value called a ‘seed’, to spit out unpredictable digits. But computers are very good at executing tasks predictably; any individual seed value will always produce the same sequence of numbers. If you know the seed, you can predict the output. This is called pseudo-randomness.

Where people and computers fail at creating true randomness, the physical world does not. Truly random seed numbers can be derived from the unpredictability of physical processes itself—like radioactive decay—or through the imprecision of taking exacting measurements (like recording the temperature to ten decimal places).

Cloudflare is far from alone in their need for unpredictable values, and others have their own unique methods to find them. The University of Chile, for example, sources entropy from seismic measurements of the earth, radio waves from a campus radio station, and a selection of Twitter posts. Protocol Labs uses measurements of ambient noise. Even the American government is experimenting with entropy. The National Institute of Standards and Technology has experimented with using quantum mechanics to create random numbers, by generating digital data using particles of light. These organizations have even joined together to create a free public randomness service called the League of Entropy which mixes their individual sources of entropy.

But for Cloudflare, it’s the lava lamps. “It’s a piece of artwork for our offices. But it does serve a purpose,” Graham-Cumming told Quartz of the wall, “Randomness is everywhere. It’s fundamental to our use of the internet.”

📬 Sign up for the Daily Brief

Our free, fast, and fun briefing on the global economy, delivered every weekday morning.