Cryptography · Number theory · Since 2019
We hide the shape of your messages.
Encryption hides your words. It does not hide how long they are, when you send them, or whether you are talking at all. DIOLSA, our patented cipher, hides all four.
Encryption hides the words, not the shape
Standard ciphers such as AES protect content only. Everything around the content is left in plain sight, and it often tells the whole story.
Length
“Yes” is 3 bytes. “No, sorry, the price is too high” is 32. The size of the ciphertext gives the answer away.
Timing
A message sent just before every announcement, or a reply within ten seconds, tells its own story.
Activity
For a journalist and a source, the simple fact that they talk at all can be the secret.
Two messages. One shape.
DIOLSA mixes in decoy tuples that the receiver throws away with certainty and an eavesdropper cannot tell apart from real ones.
In block mode, every message is padded to the same size. In stream mode, the line never goes quiet: real and decoy tuples flow at the same random pace, so nobody can tell when you type, pause, or leave.
Standard encryption hides one thing. DIOLSA hides four.
| The eavesdropper learns… | AES-GCM / ChaCha20 | DIOLSA · blocks | DIOLSA · stream |
|---|---|---|---|
| The words | No | No | No |
| The exact length | Yes | No, only the block size | No |
| When a message is sent | Yes | Yes | No |
| Whether anyone is talking | Yes | Yes | No |
| A changed or missing piece | Detected | Detected, channel closes | Detected, channel closes |
Built from a theorem of Gauss
Multiply all the units of a number n together and you always get +1 or −1. That old fact from number theory is the engine of our ciphers, and the n in our name.
Number theory core
Each byte becomes the inverse of a product of units: “everything that is left” of the group U(n).
A key per byte
A SHA-256 key chain makes 1000 fresh 256-bit keys per round. No key is ever used twice.
Keys erased
Each key is deleted the moment it is used, so a stolen device does not reveal past messages.
Tamper alarms
Every tuple carries its own seal. A lost, changed or reordered tuple closes the channel. It never fails silently.
Watch Eve see nothing
Alice and Bob chat with DIOLSA. Press EVE to see only what an eavesdropper sees on the wire. Switch between default, block and stream mode and watch the shape of the conversation disappear.
From LSA to DIOLSA
U(n)ALTERED Laboratories began with a question about groups of units, and became a home for ciphers that protect more than words.
The LSA Cryptosystem
Francesco Lucente Stabile and Carey Atkins publish LSA on the IACR Cryptology ePrint Archive.
LSA explained
A video series shows how LSA works, with worked examples and applications.
DIOLSA
The patented successor: a key chain, decoys, fixed blocks and a continuous stream. Full specification published, open for review.
Read the papers
DIOLSA: Specification of a Block and Stream Cipher
The full algorithm as implemented in the reference code (protocol diolsa-v4), its mathematics with proofs, and a first security analysis with open questions for reviewers.
Overview · for everyone · 4 pagesHiding the Shape of Your Messages
A plain-language introduction: why encryption alone does not hide the length and timing of your messages, and how DIOLSA does.
Paper · PDF · 21 pagesThe LSA Cryptosystem
The original paper with Carey Atkins: the group theory behind LSA, Gauss's theorem, the algorithm step by step and a worked example.
A cipher must not depend on keeping the method secret. Only the key may be secret.Kerckhoffs's principle, 1883 · the rule we build by