အနုပညာ
အလှအပနှင့် ကျန်းမာရေး
လက်မှုအနုပညာ
ယဉ်ကျေးမှုနှင့် သမိုင်း
ဖျော်ဖြေရေး
ပတ်ဝန်းကျင်
အစားအစာနှင့် အချိုရည်
ပြောင်းပြန်အင်ဂျင်နီယာပညာ
သိပ္ပံပညာများ
အားကစား
နည်းပညာ
ဝတ်ဆင်နိုင်သောပစ္စည်းများ
Vigenère Cipher
Ed

ဖန်တီးသူ

Ed

20. သြဂုတ် 2026FI

Vigenère Cipher

Write a keyword repeatedly above the message, and shift each letter by the letter of the key above it. A becomes a shift of 0, B a shift of 1, and so on. Because a different shift applies at each position, the same plaintext letter becomes different ciphertext letters depending where it falls — and the flat frequency profile that results defeated cryptanalysts for three centuries. It was called le chiffre indéchiffrable, the indecipherable cipher, and the confidence was misplaced: the repeating keyword makes the cipher periodic, and once you know the period you can split the message into several plain Caesar ciphers and break each one separately. Babbage worked this out around 1854 and did not publish; Kasiski published in 1863.
အလယ်အလတ်
1 hour

ညွှန်ကြားချက်များ

1

Encrypt with a keyword

Key over message, letter by letter.

  1. Choose a keyword and write it repeatedly above your plaintext.
  2. For each column, shift the plaintext letter by the key letter's position (A=0, B=1, …).
  3. Wrap around from Z to A.
Notice immediately that repeated plaintext letters usually become different ciphertext letters, and different plaintext letters sometimes become the same one. Both directions of that ambiguity are what break frequency analysis.

Materials for this step:

Graph PaperGraph Paper1 pad
Graphite Pencil SetGraphite Pencil Set1 အစုံ
2

Confirm the defence works

Attack your own ciphertext the old way and watch it fail.

  1. Tally letter frequencies over a long Vigenère ciphertext.
  2. Chart them.
  3. Try to identify E.
The chart is nearly flat and E is not findable. This is exactly why the cipher held its reputation for so long — the standard attack of the day returns nothing at all, which reads as strength rather than as a hint to attack differently.
3

Find the period with Kasiski's method

The keyword repeats, and repetition leaves fingerprints.

  1. Search the ciphertext for repeated sequences of three or more letters.
  2. Measure the distance between each pair of repeats.
  3. Take the common factors of those distances.
A repeated plaintext fragment encrypted at the same key offset produces an identical ciphertext fragment, and the gap between them must be a multiple of the key length. The greatest common factor of several such gaps is almost always the key length. You have converted an unknown cipher into a known one.
4

Split and conquer

With the period known, the whole thing collapses.

  1. If the key length is 5, take every 5th letter to form five separate strings.
  2. Each string was encrypted with ONE fixed shift — a Caesar cipher.
  3. Run frequency analysis on each string independently and recover each shift.
  4. Assemble the shifts into the keyword.
This is the whole attack, and it is worth sitting with: an unbreakable cipher turned out to be five easy ciphers interleaved. Finding the structure that lets you decompose a problem is usually the entire difficulty.
5

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

ဆက်စပ် အစီအစဉ်များ

ဤအစီအစဉ်များသည် အသိပညာမျှဝေသည် — နည်းပညာ၊ ပစ္စည်း သို့မဟုတ် မူများ

CC0 အများပိုင်

ဤအစီအစဉ်ကို CC0 အောက်တွင် ထုတ်ဝေထားသည်။ ခွင့်ပြုချက်မလိုဘဲ ကူးယူ၊ ပြင်ဆင်၊ ဖြန့်ဝေ နှင့် အသုံးပြုနိုင်သည်။

အစီအစဉ်မှတစ်ဆင့် ကုန်ပစ္စည်းများဝယ်ယူ၍ ဖန်တီးသူကို ပံ့ပိုးပါ ဖန်တီးသူ ကော်မရှင် ရောင်းချသူက သတ်မှတ်သည်၊ သို့မဟုတ် ဤအစီအစဉ်၏ ဗားရှင်းအသစ်ဖန်တီး၍ ဝင်ငွေခွဲဝေရန် သင့်အစီအစဉ်တွင် ချိတ်ဆက်မှုအဖြစ် ထည့်သွင်းပါ။

ဆွေးနွေးချက်

(0)

ဝင်ရောက် ဆွေးနွေးချက်တွင် ပါဝင်ရန်

Loading comments...