Author Archives: May Constabel

Protected by Lava Lamps

Decrypting the Enigma message keys were crucial for the Allied efforts in World War I, but how is encryption used today? Technology has advanced considerably from the rotor cipher machines of the 1910’s.

Today, encryption and cryptography relies on randomness. A computer or a code cannot generate truly random numbers, and if an encryption key is not random it can be duplicated. Any physical or experimental measurement will always have inherent uncertainties due to the process or the inaccuracy of the measurement – this is truly random.

However, creating truly random numbers is time consuming and expensive, so pseudorandomness is used instead. Pseudorandom is defined by Merriam-Webster as “[numbers] selected by a definite computational process but that satisfy one or more standard tests for statistical randomness”.

Cloudflare, a company based out of San Francisco, uses a wall composed of 100 lava lamps, to protect its users’ data. Uber, OKCupid, and Fitbit are among the 6 million websites protected by Cloudflare.

Lava Lamps. Mike Mozart Flickr

 A camera takes pictures of the blobs and lights created by the wall of lamps and converts it into a stream of random data. Because the flow of the “lava” is unpredictable (ie. random) it is an ideal source to generate pseudorandom numbers.

However, it’s not just the lamps that are recorded, but the ambient noise of the camera as well, adding another level of randomness.

This is then used to create unpredictable encryption keys by using a deterministic algorithm which inputs a random value (called a seed) and outputs more random values. This algorithm is called a cryptographically secure pseudorandom number generator. These are pseudorandom numbers.

Cloudflare handles 10% of the total internet traffic, so the camera takes pictures of the “Wall of Entropy” every millisecond, all day, every day.

The company also has offices in London and Singapore that each use another unique tactic to generate randomness. The London office uses a chaotic pendulum (see video below) and records its movements and the Singapore office uses a radioactive source.

YouTube Preview Image

In a world where our lives are documented online, providers like Cloudflare are key to keeping us and our data safe.

SI Units Are Changing, But Will We Have To As Well?

The SI units that we know and love today were first published in 1960, but they will be undergoing redefinition in the next few years. But don’t panic just yet!

First, a little history. The International System of Units is the metric system. The abbreviation SI stems from Système international (d’unités) in French. It is based on the metre-kilogram-second (MKS) system of units, in which meters, kilograms, and seconds were the base units.

The SI units are founded on seven base units for seven independent quantities. These units are the meter (m), kilogram (kg), second (s), kelvin (K), mole (mol), ampere (A), and candela (cd). All other units are derived from these seven. For example, the unit of force is a Newton (N), which is equal to 1 m×kg×s-2 in base units.

The SI base units. Depiep: Wikimedia Commons

Metrology is “the science of measurement, embracing both experimental and theoretical determinations at any level of uncertainty”, as defined by the Bureau international des poids et mesures (BIPM).

Changes are made to SI units to ensure stability over the long-term by linking the definitions to invariable constants.

Currently, the kilogram is defined by “the mass of the international prototype of the kilogram”, kept in a vault in Paris. If this sounds vague to you, you’re in agreement with the BIPM and metrologists around the world.

The international prototype of the kilogram is a block of platinum-iridium. However, objects like this one can easily lose or gain atoms or molecules from the surrounding air. In comparison to the prototype, official copies may no longer have the same weight. The prototype has an uncertainty of zero for now, but this is expected to rise.

Official copies of the kilogram are changing. Elizabeth Gibney Nature

SI was designed to be able to evolve as new derivative units are added and old definitions redefined. These changes are discussed at the General Conference on Weights and Measures held by the BIPM. The next conference will be held in Versailles in November 2018.

The latest revision was discussed October 16th-20th 2017 in Paris. In this new system, the base units will be defined in relation to a fundamental physical constant such as the speed of light c or the Planck constant h.

The new, revised SI units. Elizabeth Gibney Nature

These changes won’t affect the way we measure or the measurements we make in our everyday experiments, so we can continue on the way we did before. However, those operating at the absolute highest precision can now rest a little easier.

-May Constabel