Diana Cryptosystem
The US Army Special Forces trigraph one-time pad system, used from the Vietnam War through the Gulf War.
Why This Matters
The Diana Cryptosystem is the US Army Special Forces implementation of the one-time pad, designed for field use under combat conditions. Issued to Green Berets operating in Vietnam, Laos, and Cambodia, it paired booklets of random key letters with a pocket Tri-Graph card: for each plaintext letter and its pad letter, the card gives the cipher letter — and because every trigram of plaintext, key, and cipher letters sums to 25, the very same lookup decrypts. Pad pages were burned after use. When used correctly the system is mathematically unbreakable, and NSA's declassified COMSEC history names DIANA as its most-used letter pad format.
DIANA was the NSA's standard letter one-time pad, described in the agency's declassified History of U.S. Communications Security (the Boak lectures, 1973) as "the oldest type still in substantial use" and, with its numeric sibling CALYPSO, "still the most used one-time pads" — later joined by the faster ORION and MEDEA formats. US Special Forces operating in denied territory needed a cipher light enough to destroy quickly under ambush conditions: printed pad booklets small enough to burn page by page replaced bulky teletype key tape, and a pocket Tri-Graph conversion card did the arithmetic.
Sources: NSA, Boak Lectures Vol. I (1973, decl. 2015), pp. 22–25 · D. Rijmenants, "DIANA — A Fast Reciprocal One Time Pad Table" · Special Forces in Vietnam — Commo Security.
Each pad page carries lines of random key letters, used once and destroyed. The DIANA rule is that plaintext, key, and cipher letters of every position always sum to 25 (with A=0 … Z=25): C = 25 − P − K (mod 26). That makes the system doubly reciprocal — the same Tri-Graph table both encrypts and decrypts, and any two letters of the trigram give the third — so an operator who memorized the 126 trigram combinations could work without the card at all.
Worked example (Special Forces radio operator's account): Pad key: GORWY WETFR COYET Plaintext: ATTAC KATDA WNXYZ Ciphertext: TSPDZ TVNRI BYEXH First letter: A(0) with key G(6) → 25−0−6 = 19 = T Decryption is the same lookup: T with key G → 25−19−6 = 0 = A
About this demo: The demo implements the authentic DIANA rule (C = 25 − P − K mod 26) but repeats your short keyword as the key so you can experiment — a real DIANA pad used truly random, never-repeated key letters, which is what made it unbreakable.
The fatal weakness of all OTP systems is logistical, not mathematical. If a pad card is captured, reused, or reproduced without secure randomness, the system collapses immediately. The Soviet VENONA failure stemmed from key reuse under wartime production pressure. Diana training manuals emphasize card destruction above all other security procedures.
The Diana system demonstrates the same security proof as unconditional secrecy: Shannon's 1949 theorem shows that a truly random key used only once produces a ciphertext with no information-theoretic correlation to plaintext. AES, TLS, and every modern symmetric cipher sacrifice this absolute guarantee in exchange for the practicality of small, reusable keys.
| Origin | US Army Special Forces / NSA |
| Era | ~1960–1995 |
| Family | One-Time Pad (trigraphic variant) |
| Key Material | Printed pad cards, 13 trigraph columns |
| Security | Theoretically unbreakable if pad not reused |
| Modern Lesson | Correct OTP use is unbreakable; logistics often fail before the math |