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.

148 CHAPTER 8. POLYALPHABETIC CIPHERS<br />

excess <strong>of</strong> 11 keyletters per minute <strong>of</strong> conversation. Or a modern business sending<br />

2000 pages everyday needs more than 120 new pages <strong>of</strong> keywords everyday.<br />

This is our first encounter with the key management problem. A cipher<br />

system isn’t much good if every few days we must hand-deliver a brand-new<br />

book full <strong>of</strong> never-been-used keys to everyone we wish to communicate with.<br />

Even if we could develop such “books” our business would go bankrupt from<br />

the printing and delivery costs!<br />

The German Enigma machines <strong>of</strong> World War II fame, as well as some <strong>of</strong><br />

the cipher machines used by the Americans like the M-94, were, in many ways,<br />

simply mechanical versions <strong>of</strong> multiple Vigenère ciphers. These machines used a<br />

number <strong>of</strong> linked wheels, or “rotors,” to perform the enciphering and deciphering.<br />

Each rotor can be thought <strong>of</strong> as giving a monoalphabetic cipher. When<br />

coupled several such rotors combine only to give a monoalphabetic cipher. But<br />

when one rotor rotates even one step, a new monoalphabetic cipher is created.<br />

As long as the rotors continue to rotate, in whatever pattern, and do not come<br />

back to their original position, an ever-longer keyword is produced. With the<br />

5 rotors <strong>of</strong> the latter Enigma machines, the “keyword” had functional length<br />

26 5 = 11, 881, 376, longer than the Iliad and Odyssey combined! 13 (The rotor<br />

machines have their own weaknesses. The rotors get stolen or captured. The<br />

setting <strong>of</strong> the rotors – how exactly they are positioned at the beginning <strong>of</strong> a<br />

message – must be sent. And each particular type <strong>of</strong> machine has its own peculiarities.<br />

For example, the Enigmas were unable to encipher a letter to itself.<br />

We mustn’t overstate the power <strong>of</strong> our techniques, the weaknesses <strong>of</strong> Enigma<br />

contributed a great deal to the Allies breaking it. But advanced versions <strong>of</strong> the<br />

techniques we’ve developed in this chapter played an important role.)<br />

Although the Vigenère-based Ciphers were great in their time, the development<br />

<strong>of</strong> Friedman’s and other more sophisticated tests, coupled with the modern<br />

need for vast quantities <strong>of</strong> keys, makes such ciphers relatively insecure.<br />

13 A keylength <strong>of</strong> eleven million sounds large, but numbers get big fast. For a “small”<br />

example, consider The War <strong>of</strong> the Rebellion: a compilation <strong>of</strong> the <strong>of</strong>ficial records <strong>of</strong> the<br />

Union and Confederate armies. Pub. under the direction <strong>of</strong> the ... Secretary <strong>of</strong> War, the<br />

compilation <strong>of</strong> the formal reports, correspondence, orders, and returns <strong>of</strong> the Union and<br />

Confederate Armies. In four Series, it consists <strong>of</strong> nearly 70 volumes, many in several parts,<br />

with most <strong>of</strong> the parts between 800 and 1200 pages. For example, Volume XXIV, published<br />

in 1889, comes in three parts, and covers “Operations in Mississippi and West Tennessee,<br />

including those in Arkansas and Louisiana connected with the Siege <strong>of</strong> Vicksburg. January<br />

20 - August 10, 1863.” Part III includes the Correspondences and is 1196 pages long. For<br />

an estimate, if we assume each volume has 2 parts, each <strong>of</strong> 1000 pages, and there are 3000<br />

characters per page, the volumes contain 420,000,000 characters in total. This is over 200,000<br />

characters for each day <strong>of</strong> the war! Now imagine the number <strong>of</strong> characters sent during WWII.<br />

Or during either <strong>of</strong> the Persian Gulf Wars!

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

Saved successfully!

Ooh no, something went wrong!