Stickybit.← Post-quantumPortuguêsMeasured prototype · telemetry · 2026
TUBESEC · compressed telemetry, sealed against quantum

Encrypt the telemetry without losing the guarantee.

TUBE shrinks telemetry up to 190× and guarantees that no reading drifts from the original by more than the agreed tolerance. To cross a satellite or radio link, that file must travel encrypted, with locks that resist a quantum computer. We built the envelope, measured it on 15 real cases and found a cost nobody sees with ordinary compression: the seal ends up weighing more than the data itself.

Specimen · the same file in two envelopes, facing three adversaries
Today’s locksECDH + ECDSA
TUBESEChybrid + ML-KEM + ML-DSA
Signed manifest
Session key
Blocks of readings

What the seal costs in each case:
compressed dataseals
2,304 Bkey exchange, per session
3,309 Bsignature, per session
16 Bseal, per block
—seal cost in this case

The role of each layer and every byte count come from the measured prototype (round trip decrypt → open → check the tolerance, on the 15 TUBE test cases). What each adversary achieves follows from the design: a quantum computer breaks ECDH and ECDSA (Shor’s algorithm); it does not break AES-256 in practice.

In everyday life

The letter goes in the envelope, not in the pen.

Think of registered mail. You write the letter with any pen and only then put it in the envelope, glue it and seal it. Nobody mixes the ink with the wax, because then nobody could check either the letter or the seal.

We did the same with telemetry. The codec (the program that compresses) stays exactly as it was: it produces the same file on any machine and can be audited byte by byte. Encryption lives in the envelope, which wraps what the codec produces. Cryptography in the envelope, never in the codec.

And one detail decides everything: the tolerance (the "never off by more than X" that gives the file its value) goes inside each block’s seal. If someone in transit changes that number to make a bad file look good, the seal no longer matches.

sensor TUBE (codec) block 1 16 B block 2 16 B block 3 16 B same file on any machine● seal = tolerance ±ε
The codec produces blocks of readings; each block goes in its own sealed envelope, with the tolerance inside the seal.
How it works

Three layers, and only two need a new lock.

Blocks of readings. Each block (a stretch that opens on its own) is encrypted with AES-256 and gets a 16-byte seal. If a radio packet is lost, only that block is lost; and you can open a stretch in the middle without opening the rest. AES-256 already resists a quantum computer: the best known attack (Grover) only halves its security, which still leaves a huge margin.

Session key. The key that encrypts the blocks comes from a double exchange: X25519, today’s lock, together with ML-KEM-768, the new key exchange standardized by NIST (FIPS 203). If one falls, the other holds. It costs 2,304 bytes per key exchange, paid once per session, not per block.

Signed manifest. The list of what was sent (cases, channels, tolerances) is signed with ML-DSA-65, NIST’s new digital signature (FIPS 204): 3,309 bytes per session. With it, whoever signed cannot later deny the tolerance they declared.

ManifestML-DSA-65 signature 3,309 Bper session new lock Session keyX25519 + ML-KEM-768 2,304 Bper key exchange new lock BlocksAES-256-GCM 16 Bon every block already resists
The two new-lock layers cost once per session and get diluted. The 16-byte seal is the only cost that repeats on every block.
What we measured

Compression’s success is what exposes the seal.

With ordinary compression, 2 to 5×, 16 bytes per block don’t show up in the bill. TUBE doesn’t work in that regime: the more it compresses, the smaller each block gets, and the larger the seal’s relative weight.

In practice: on an energy meter the seal adds 4%; on a drone it nearly doubles the file; on the satellite, the average block holds about 12 bytes of data, less than the 16-byte seal itself. In all 15 cases the decrypted file was opened and the tolerance checked: the guarantee crosses the envelope intact.

Energy meters (AMI)
+4.4%
Real ECG
+10.3%
Real robot (ROS 2)
+16.5%
Motion capture (CMU)
+17.3%
ALOHA robot arm
+28.8%
Drone (PX4)
+97.6%
Satellite
+126.1%
Robotics (extreme case)
+172.2%
How much the 16-byte-per-block seal grows the compressed file, case by case. In red, the cases where the seal weighs more than the data.
CaseSeal costReading
Energy meters (AMI)+4.4%fat block: the seal disappears
Real ECG+10.3%dense data: still modest
Real robot (ROS 2)+16.5%21× compression
Motion capture (CMU)+17.3%22× compression
ALOHA robot arm+28.8%37×; thin blocks
Drone (PX4)+97.6%123×: nearly doubles the file
Satellite+126.1%average block of ~12 B, smaller than the seal
Robotics (extreme case)+172.2%the seal costs 1.7× the data
The design lesson

The seal must be the size of what gets lost.

Sealing each block looked like the obvious choice, and the measurement showed it is only right when blocks are fat. The right thing is to match the seal to the link’s unit of loss: if the radio loses whole packets, seal the packet (a batch of blocks) with a single seal. The seal is diluted across the batch, and loss stays limited to what the link would lose anyway.

This variant is the design answer to the finding. It has not been measured yet: its honest number is the next step, not a promise on this page.

one seal per block one seal per radio packet dataseal (16 B)
Top: one seal per block; with small blocks, the seals weigh more than the data. Bottom: one seal per radio packet.
Where to use it

Expensive, hostile, long-lived links.

Makes sense

  • Satellite downlink: data that spends years in transit and in archives, recorded by whoever listens to the sky.
  • Field radio and fleets: telemetry from machines, drones and robots crossing third-party networks.
  • Regulated audit: when the tolerance is a contract and must reach the auditor intact.

Not needed

  • Data worth minutes: if nobody cares about it in 10 years, today’s lock is enough.
  • Short closed network: inside a single building, with no outside recording, the risk is different.
  • Modest compression: at 2–5×, per-block sealing works without this page’s problem.
Three words from this page
Block of readings

A stretch of the series that opens on its own, without the rest. It is the unit TUBE compresses, and here the unit that gets encrypted.

Seal

The 16 bytes that prove the block arrived unchanged. If one bit changes in transit, the seal doesn’t match and the block is rejected.

Hybrid key exchange

Two locks at once, today’s and the new one. To open it, you have to break both.

Limits

Where this could be wrong.

Size talks

Encryption hides content, not size. Since TUBE only sends data when the signal changes, anyone watching the link sees when the robot moves or the satellite maneuvers, without decrypting anything. Padding fixes it, and costs exactly what compression saved. Not measured; declared.

Prototype, not product

The numbers come from a prototype with the full round trip checked on the 15 cases, not from a hardened implementation audited by third parties.

Per-packet sealing is unmeasured

It is the design answer to the finding. Until measured, it stands as a hypothesis.

New locks are new

ML-KEM and ML-DSA rest on a different math problem, studied for less time. Attack claims appear and need community verification; that is why the key exchange is hybrid: with X25519 alongside, a break of ML-KEM does not open the session to someone without a quantum computer.

Compressed, encrypted and auditable, all three at once.

If your telemetry crosses a hostile link and must stay auditable on the other side, this is the problem we are measuring. The first step is TUBE: you send a telemetry file and get the numbers back within a week, installing nothing.

See also

← Post-quantum · stickybit.com.br

Sources