
One-Time Pad
说明
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.
此步骤所需材料:
Dice (Six-Sided, Set of 5)1 套
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.
此步骤所需材料:
Card Stock (Heavy, 50 Sheets)1 包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.
材料
3- 1 pad占位符
CC0 公共领域
此蓝图以 CC0 协议发布。你可以自由复制、修改、分发和使用此作品,无需征得许可。
通过购买蓝图中的产品支持创客,他们将获得 创客佣金 (由供应商设定),或创建此蓝图的新版本并将其作为连接包含在你自己的蓝图中以分享收入。

