06.01.2015 Views

Cryptology - Unofficial St. Mary's College of California Web Site

Cryptology - Unofficial St. Mary's College of California Web Site

Cryptology - Unofficial St. Mary's College of California Web Site

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

7.6. HOW TO BREAK VIGENÈRE CIPHERS 119<br />

viously from its keyword. But, surprisingly, the important thing about the<br />

keyword, at least from a security standpoint, is not which letters are in it, but<br />

rather how many!<br />

Let’s illustrate the method with the example we considered earlier.<br />

Example:<br />

QNTQH PIECN SCPOE QXPZC FFILF ACNMY FRRPW XUTKK RROLV CVEQX KASFS<br />

IMGSY XYRRM POEFH MYROI OEEUO EVSET EVPIX KAEFC ZGKEQ AHTAK KXTEI<br />

EGRNA DZPKM MDCAC ZGPVT QTFHZ OXZDE RFEWX YFWVN ARIGW AANUG RNQAE<br />

FXSMT FHCZG RWTMP ZDJII YQRRN QLDCV NKTHI VTKP<br />

Now suppose somehow, by hook or by crook, we learned that this is indeed a<br />

Vigenère cipher with a keyword consisting <strong>of</strong> 5 letters. This would mean that<br />

every fifth letter <strong>of</strong> the message is enciphered by the same letter <strong>of</strong> the keyword.<br />

So the letters appearing first in each five-letter grouping are enciphered, as a<br />

Caesar cipher, using the same keyletter. Similarly, the letters occurring second<br />

in each five-letter grouping are enciphered using the same keyletter. Likewise<br />

for the third, the fourth and the fifth letters. So if we group together the letters<br />

that are enciphered by the same keyletter, then we can decipher each <strong>of</strong> these<br />

groups as a Caesar Cipher.<br />

First, we regroup and make new frequency counts.<br />

First letters: QPSQFAFXRCKIXPMOEEKZAKEDMZQORYAARFFRZYQNV<br />

4 0 1 1 3 4 0 0 1 0 3 0 2 1 2 2 4 4 1 0 0 1 0 2 2 3<br />

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z<br />

Second letters: NICXFCRURVAMYOYEVVAGHXGZDGTXFFRANXHWDQLKT<br />

3 0 2 2 1 3 3 2 1 0 1 1 1 2 1 0 1 3 0 2 1 3 1 4 2 1<br />

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z<br />

Third letters: TEPPINRTOESGRERESPEKTTRPCPFZEWINQSCTJRDTK<br />

0 0 2 1 6 1 1 0 2 1 2 0 0 2 1 5 1 5 3 6 0 0 1 0 0 1<br />

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z<br />

Fourth letters: QCOZLMPKLQFSRFOUEIFEAENKAVHDWVGUAMZMIRCHP<br />

3 0 2 1 3 3 1 2 2 0 2 2 3 1 2 2 2 2 1 0 2 2 1 0 0 2<br />

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z<br />

Fifth letters: HNECFYWKVXSYMHIOTXCQKIAMCTZEXNWGETGPINVI<br />

1 0 3 0 3 1 2 2 4 0 2 0 2 3 1 1 1 0 1 3 0 2 2 3 2 1<br />

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!