
One-Time Pad
Ìlànà
Generate key material you can trust
Generate key material you can trust
The randomness has to come from a physical process, not from your head.
- Roll dice to produce numbers 0-25, discarding out-of-range results.
- Record a long sequence — at least as long as your intended message.
- Now have someone write down 50 letters they think look random, and tally both.
Materials for this step:
Dice (Six-Sided, Set of 5)1 ìtò
Graph Paper1 padEncipher and decipher
Encipher and decipher
Add the key to the message, modulo 26.
- Number the letters A=0 to Z=25.
- Add each plaintext number to its key number, modulo 26.
- Convert back to letters — that is the ciphertext.
- Subtract the same key to recover the plaintext.
Materials for this step:
Card Stock (Heavy, 50 Sheets)1 àkópọ̀Show why analysis has nothing to work with
Show why analysis has nothing to work with
Demonstrate the proof rather than quoting it.
- Take a five-letter ciphertext.
- Choose the target word HELLO and compute the key that would decrypt to it.
- Now choose WORLD and compute the key for that.
Reuse a page and watch the guarantee go
Reuse a page and watch the guarantee go
The operational failure, made visible.
- Encipher two DIFFERENT messages with the SAME key.
- Subtract one ciphertext from the other, letter by letter, modulo 26.
- Observe that the key has cancelled out entirely.
History and context
History and context
Gilbert Vernam at AT&T patented an automatic version in 1917, combining a punched key tape with the message tape electrically; Joseph Mauborgne added the insight that the key must be random and used only once. Claude Shannon proved the perfect-secrecy property in his 1949 paper on the mathematical theory of secrecy systems. An earlier description by Frank Miller in 1882 was rediscovered much later.
Where it applies, and where it does not. Its region is narrow and real: extremely high-value, low-volume traffic where two parties can meet in advance to exchange key material physically. The Moscow-Washington hotline used one-time tape for decades, and diplomatic and espionage traffic used printed pads on flash paper. For anything high-volume or between parties who have never met, the key distribution problem is worse than the problem it solves — which is precisely the gap that public-key cryptography later addressed by a completely different route.
The number stations heard on shortwave for decades — a voice reading endless groups of digits — are the delivery mechanism for exactly this. A pad, a radio and a shortwave receiver need no acknowledgement and reveal nothing about who is listening.
The honest summary for a catalogue of approaches: this is the only cipher with a proof, and the proof is about the mathematics only. Its three practical costs — true randomness, key volume, and one-time discipline — are what every other approach in this family is trading away in exchange for being usable.
Àwọn ohun-èlò
3- Placeholder
- 1 padPlaceholder
- 1 àkópọ̀Placeholder
Blueprint tó jọra
Àwọn blueprint wọ̀nyí pín ìmọ̀ — ọ̀nà, ohun-èlò tàbí ìlànà
CC0 Àgbègbè Gbogbogbò
Blueprint yìí ti jáde lábẹ́ CC0. O lè ṣe àdàkọ, yí padà, pín, àti lò láìsí ìyọ̀ǹda.
Ṣàtìlẹ́yìn Olùṣẹ́dá nípa rírà àwọn ọjà nipasẹ̀ Blueprint wọn Ẹ̀san Olùṣẹ́dá tí àwọn Olùtajà gbé kalẹ̀, tàbí ṣẹ̀dá àtúnṣe tuntun ti Blueprint yìí kí o sì fi sínú Blueprint rẹ gẹ́gẹ́ bí ìsopọ̀ láti pín owó-wíwọlé.

