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
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
8.5.<br />
VIGENÈRE’S AUTO KEY CIPHER 149<br />
8.5 Vigenère’s Auto Key Cipher<br />
In a conversation on that subject [unbreakable<br />
ciphers] which I had with the late Mr. Davies<br />
Gilbert, President <strong>of</strong> the Royal Society, [he and I]<br />
each maintained that he possessed a cipher which<br />
was absolutely inscrutable. On comparison, it<br />
appeared that we had both imagined the same<br />
law.<br />
Charles Babbage, discussing Auto-key ciphers<br />
Passages from the Life <strong>of</strong> a Philosopher<br />
So we hope to produce and use really long keywords. But producing good<br />
ones is hard, and exchanging them even harder. What can we do<br />
Cardano had among the first ideas along this line. In modern terminology<br />
his idea is to encipher each word with a progressive key starting with the first<br />
letter <strong>of</strong> the previous word. Of course, there must be some way <strong>of</strong> enciphering<br />
the first word, and Belaso suggested picking a key letter.<br />
Example: Encipher Lets attack them Friday using the keyletter J.<br />
So Lets is enciphered with JKLM (recall that a progressive key moves one<br />
letter forward each step), attack with LMNOPQ, and so on.<br />
plaintext l e t s a t t a c k t h e m f r i d a y<br />
key J K L M L M N O P Q A B C D T U V W X Y<br />
ciphertext U O E E L F G O R A T I G P Y L D Z X W<br />
So the ciphertext is UOEEL FGORA TIGPY LDZXW.<br />
⋄<br />
What is the security <strong>of</strong> this method It seems better than the Vigenère<br />
method since the keyword is not repeated. One possible problem is that since<br />
t starts so many words, many words much <strong>of</strong> the plaintext will be enciphered<br />
with key TUVWXY.... If word length is preserved in the ciphertext then we may<br />
simply decipher each word using the key TUVWXY... until we get lucky and find<br />
one for which this works. Since almost 16% <strong>of</strong> all words begin with T, we’ll<br />
likely only have to try 3 or 4 until we get lucky. And once we have one word<br />
we are done for it will tell us how to decipher the next word. So this is a good<br />
idea, but we need a way to make it less predictable.<br />
At this point Blaise de Vigenère (1523–1596) finally enters the picture.<br />
As a youth Vigenère received an excellent education, attending the Diet <strong>of</strong><br />
Worms as a very young secretary and traveling throughout Europe in diplomatic<br />
missions. In 1549 he was sent to Rome, where he apparently read Trithemius,<br />
Belaso, Cardano and Porta, among others, and studied with the experts <strong>of</strong> the<br />
papal curia. After a career in diplomacy (for the Duke <strong>of</strong> Nevers and King<br />
Charles IX) in 1570 he married a much younger wife, quit court life, gave his<br />
annuity to the poor, and devoted himself to writing. And he wrote about