Post-Quantum Entropy as a Service for Embedded Systems

This paper presents a Quantum Entropy as a Service (QEaaS) system that delivers post-quantum-secured entropy to embedded ESP32 devices, demonstrating that ML-KEM-512 and ML-DSA-44 protocols achieve DTLS 1.3 handshakes significantly faster than classical ECDHE P-256 counterparts while maintaining robust security.

Javier Blanco-Romero, Yuri Melissa Garcia-Niño, Florina Almenares Mendoza, Daniel Díaz-Sánchez, Carlos García-Rubio, Celeste Campo

Published Thu, 12 Ma
📖 4 min read☕ Coffee break read

Imagine you are building a tiny, battery-powered robot (like a smart thermostat or a sensor in a forest) that needs to keep secrets. To keep those secrets safe, the robot needs to generate random numbers to create its locks and keys.

In the world of computers, these random numbers are called entropy. If the numbers aren't truly random, a hacker can guess the lock and break in.

Here is the problem: Tiny robots are "dumb" in a good way—they are small, cheap, and have very little brainpower. They often struggle to generate truly random numbers on their own. They might rely on a shaky hardware sensor that isn't very good at it.

This paper presents a clever solution: Don't make the robot generate the randomness; just send it some from a super-powerful source.

The Big Idea: "Randomness as a Service"

Think of this like a water utility company.

  • The Robot (Client): It's a small house with a tiny, leaky well. It can't produce enough clean water (randomness) to survive.
  • The Server (QEaaS): It's a massive, high-tech water treatment plant powered by Quantum Physics. It produces an endless supply of perfectly pure, unpredictable water.
  • The Delivery Truck: It drives the water from the plant to the house.

The authors built a system where a powerful server (using a special quantum device called a Quantis QRNG) generates perfect randomness and sends it to tiny robots over the internet.

The "Quantum" Twist

Usually, if you send secret data over the internet, you use standard encryption (like a padlock). But scientists predict that in the future, Quantum Computers will be so powerful they can pick those standard locks instantly.

To stop this, the authors used Post-Quantum Cryptography (PQC).

  • Analogy: Instead of a standard padlock, they used a super-complex, futuristic safe that even a quantum computer couldn't crack.
  • They used new, standardized algorithms (called ML-KEM and ML-DSA) to protect the "water truck" so no one could steal the randomness while it was being delivered.

The Surprise: It's Actually Faster!

The biggest shock in this paper is the speed.
Usually, when you add extra security (like a bigger, heavier safe), things get slower. You'd expect the tiny robot to struggle with these heavy quantum locks.

But the opposite happened.

  • The "Quantum" locks were actually 35% to 63% faster than the old standard locks on these tiny robots.
  • Why? The old locks (Elliptic Curve) require the robot to do complex math that its small brain finds difficult. The new "Quantum" locks use a different type of math (matrix operations) that happens to be much easier for these specific tiny chips (ESP32) to calculate.

It's like trying to carry a heavy stone (old lock) vs. a heavy feather (new lock). Even though the feather looks "lighter" in the air, the robot's hands are built to grab feathers easily, but the stone is too awkward.

How It Works (The Journey)

  1. The Source: A server in Madrid uses a laser and a camera to catch photons (particles of light) bouncing around. This is true quantum randomness.
  2. The Delivery: The server packages this randomness and sends it to the robot using CoAP (a lightweight language for tiny devices) protected by the new Quantum-safe locks.
  3. The Mixing: The robot receives the "pure water" and mixes it into its own small internal bucket (a BLAKE2s pool). This ensures the robot always has a fresh supply of perfect randomness, even if its own hardware is shaky.

The Results

The team tested this on a tiny chip (ESP32) that costs a few dollars.

  • Speed: Setting up the secure connection took less than a quarter of a second (225 milliseconds).
  • Efficiency: The robot could request fresh randomness about 40 times a second.
  • Verdict: Not only is this system secure against future quantum computers, but it is also more efficient than the current standard for these tiny devices.

The Takeaway

This paper proves that we don't have to choose between security and speed for tiny devices. By outsourcing the hard work of generating randomness to a powerful server and using smart, future-proof locks, we can make the Internet of Things (IoT) safer and faster, even against the computers of the future.

In short: They built a "Randomness Delivery Service" that uses quantum physics to make tiny robots safer, and surprisingly, it made them run faster too.