
Vigenère Cipher
手順
Encrypt with a keyword
Encrypt with a keyword
Key over message, letter by letter.
- Choose a keyword and write it repeatedly above your plaintext.
- For each column, shift the plaintext letter by the key letter's position (A=0, B=1, …).
- Wrap around from Z to A.
このステップの材料:
Graph Paper1 pad
Graphite Pencil Set1 セットConfirm the defence works
Confirm the defence works
Attack your own ciphertext the old way and watch it fail.
- Tally letter frequencies over a long Vigenère ciphertext.
- Chart them.
- Try to identify E.
Find the period with Kasiski's method
Find the period with Kasiski's method
The keyword repeats, and repetition leaves fingerprints.
- Search the ciphertext for repeated sequences of three or more letters.
- Measure the distance between each pair of repeats.
- Take the common factors of those distances.
Split and conquer
Split and conquer
With the period known, the whole thing collapses.
- If the key length is 5, take every 5th letter to form five separate strings.
- Each string was encrypted with ONE fixed shift — a Caesar cipher.
- Run frequency analysis on each string independently and recover each shift.
- Assemble the shifts into the keyword.
History and context
History and context
The name is wrong. The cipher was described by Giovan Battista Bellaso in 1553. Blaise de Vigenère published a stronger autokey cipher in 1586, and the nineteenth century attached his name to Bellaso's simpler scheme. It is a durable misattribution and worth correcting whenever it comes up.
The break has a priority story too. Charles Babbage appears to have solved it around 1854, apparently prompted by a challenge in a journal, and never published — possibly at the request of British intelligence during the Crimean War, though that explanation is inference rather than documented fact. Friedrich Kasiski published the method independently in 1863, and it carries his name.
Fixing the period fixes the cipher — completely. If the key is truly random, as long as the message, and never reused, the result is the one-time pad, which Shannon proved in 1949 to be information-theoretically unbreakable. Every weakness of Vigenère is a consequence of the key repeating; remove the repetition and the security is absolute. The catch is that distributing key material as long as everything you will ever send is usually harder than the problem you were solving.
Where the mistakes still happen: reusing a one-time pad destroys it entirely, and this is not a historical curiosity — the Venona project decrypted Soviet traffic for years because of duplicated pad pages. The lesson that a cipher's guarantee depends on an operational discipline, not just on the mathematics, is the one that keeps having to be relearned.
材料
2- 1 padプレースホルダー
- 1 セットプレースホルダー
関連ブループリント
これらのブループリントは知識を共有しています — 技術、材料、原理
CC0 パブリックドメイン
このブループリントはCC0で公開されています。許可を求めずに、自由にコピー、修正、配布、あらゆる目的で使用できます。
メイカーを応援するには、ブループリント経由で製品を購入してください。メイカーには メイカーコミッション がベンダーにより設定されています。または、このブループリントの新しいイテレーションを作成し、自分のブループリントにコネクションとして含めて収益を共有できます。

