Cipher disk

Last updated
A metal cipher disk CipherDisk2000.jpg
A metal cipher disk
Reconstruction of an Aeneas cipher disk, 5th century BC, Thessaloniki Science Center and Technology Museum Aeneas cipher disc, 5th century BC, Greece (reconstruction).jpg
Reconstruction of an Aeneas cipher disk, 5th century BC, Thessaloniki Science Center and Technology Museum

A cipher disk is an enciphering and deciphering tool developed in 1470 by the Italian architect and author Leon Battista Alberti. He constructed a device, (eponymously called the Alberti cipher disk) consisting of two concentric circular plates mounted one on top of the other. The larger plate is called the "stationary" and the smaller one the "moveable" since the smaller one could move on top of the "stationary". [1]

Contents

The first incarnation of the disk had plates made of copper and featured the alphabet, in order, inscribed on the outer edge of each disk in cells split evenly along the circumference of the circle. This enabled the two alphabets to move relative to each other creating an easy to use key. Rather than using an impractical and complicated table indicating the encryption method, one could use the much simpler cipher disk. This made both encryption and decryption faster, simpler and less prone to error.

Methods of encryption

The cipher disk can be used in one of two ways. The code can be a consistent monoalphabetic substitution for the entire cipher or the disks can be moved periodically throughout the cipher making it polyalphabetic. For a monoalphabetic use, the sender and the person receiving the messages would agree on a cipher key setting (e.g., the "G" in the regular alphabet would be positioned next to the "Q" in the cipher alphabet). The entire message is then encoded according to this key.

In addition to simple substitution ciphers, the cipher disk opened the way for convenient polyalphabetic ciphers. An easy way to do this is for the sender and the recipient to agree that a certain number of characters into the message, the scales would be shifted one character to the right, repeating the procedure every (say) tenth letter. This would make it more difficult to crack, using statistical methods.

Variations

Modern representation of the Union Cipher Disk, from the American Civil War, which was 3.75 inches (95 mm) in diameter and made of light yellow heavy card stock. It consisted of two concentric disks of unequal size revolving on a central pivot. The disks were divided along their outer edges into 30 equal compartments. The smaller inner disk contained letters, terminations and word pauses, while the outer disk contained groups of signal numbers. For easier recognition, the number eight represented two. The initials A.J.M. represent the Chief Signal Officer General Albert J. Myer. Each disk had a control number used for accountability. The Union Cipher Disk (5176186267).jpg
Modern representation of the Union Cipher Disk, from the American Civil War, which was 3.75 inches (95 mm) in diameter and made of light yellow heavy card stock. It consisted of two concentric disks of unequal size revolving on a central pivot. The disks were divided along their outer edges into 30 equal compartments. The smaller inner disk contained letters, terminations and word pauses, while the outer disk contained groups of signal numbers. For easier recognition, the number eight represented two. The initials A.J.M. represent the Chief Signal Officer General Albert J. Myer. Each disk had a control number used for accountability.

Cipher disks had many small variations on the basic design. Instead of letters it would occasionally use combinations of numbers on the outer disk with each combination corresponding to a letter. To make the encryption especially hard to crack, the advanced cipher disk would only use combinations of two numbers. Instead of 1 and 2 though, 1 and 8 were used since these numerals look the same upside down (as things often are on a cipher disk) as they do right side up. [2]

Cipher disks would also add additional symbols for commonly used combinations of letters like "ing", "tion", and "ed". Symbols were also frequently added to indicate "and" at the end of a word.

Weaknesses

When encoding a message using a cipher disk, a character is always used to mean “end of word.” The frequency of said character is abnormally high and thus easily detected. [2] If this character, however, is omitted, then the words run together and it takes much longer for the recipient to read the message. To remedy this, some cipher disks now have multiple characters that stand for "end of word." Similarly a cipher disk may also have multiple characters that could be used for the letter "e" (the most common letter in English) [3] so that instead of having a character with a frequency of roughly 13%, there would be two characters that stood for "e" - each with a frequency of 6% or so. Users could also use a keyword so that all the characters including the letter e would change throughout the ciphertext.

Since the 1930s, cipher disks have been labeled "decoders" and have been used for novelties. Many of the cipher disks that were radio premiums were called "secret decoder rings."

See also

Related Research Articles

Cipher Algorithm for encrypting and decrypting information

In cryptography, a cipher is an algorithm for performing encryption or decryption—a series of well-defined steps that can be followed as a procedure. An alternative, less common term is encipherment. To encipher or encode is to convert information into cipher or code. In common parlance, "cipher" is synonymous with "code", as they are both a set of steps that encrypt a message; however, the concepts are distinct in cryptography, especially classical cryptography.

Encryption Process of converting plaintext to ciphertext

In cryptography, encryption is the process of encoding information. This process converts the original representation of the information, known as plaintext, into an alternative form known as ciphertext. Ideally, only authorized parties can decipher a ciphertext back to plaintext and access the original information. Encryption does not itself prevent interference but denies the intelligible content to a would-be interceptor.

In cryptography, a substitution cipher is a method of encrypting in which units of plaintext are replaced with the ciphertext, in a defined manner, with the help of a key; the "units" may be single letters, pairs of letters, triplets of letters, mixtures of the above, and so forth. The receiver deciphers the text by performing the inverse substitution process to extract the original message.

Caesar cipher Simple and widely known encryption technique

In cryptography, a Caesar cipher, also known as Caesar's cipher, the shift cipher, Caesar's code or Caesar shift, is one of the simplest and most widely known encryption techniques. It is a type of substitution cipher in which each letter in the plaintext is replaced by a letter some fixed number of positions down the alphabet. For example, with a left shift of 3, D would be replaced by A, E would become B, and so on. The method is named after Julius Caesar, who used it in his private correspondence.

Vigenère cipher Simple type of polyalphabetic encryption system

The Vigenère cipher is a method of encrypting alphabetic text by using a series of interwoven Caesar ciphers, based on the letters of a keyword. It employs a form of polyalphabetic substitution.

A polyalphabetic cipher is any cipher based on substitution, using multiple substitution alphabets. The Vigenère cipher is probably the best-known example of a polyalphabetic cipher, though it is a simplified special case. The Enigma machine is more complex but is still fundamentally a polyalphabetic substitution cipher.

Tabula recta Fundamental tool in cryptography

In cryptography, the tabula recta is a square table of alphabets, each row of which is made by shifting the previous one to the left. The term was invented by the German author and monk Johannes Trithemius in 1508, and used in his Trithemius cipher.

In cryptography, coincidence counting is the technique of putting two texts side-by-side and counting the number of times that identical letters appear in the same position in both texts. This count, either as a ratio of the total or normalized by dividing by the expected count for a random source model, is known as the index of coincidence, or IC for short.

Frequency analysis Study of the frequency of letters or groups of letters in a ciphertext

In cryptanalysis, frequency analysis is the study of the frequency of letters or groups of letters in a ciphertext. The method is used as an aid to breaking classical ciphers.

Rotor machine

In cryptography, a rotor machine is an electro-mechanical stream cipher device used for encrypting and decrypting messages. Rotor machines were the cryptographic state-of-the-art for a prominent period of history; they were in widespread use in the 1920s–1970s. The most famous example is the German Enigma machine, the output of which was deciphered by the Allies during World War II, producing intelligence code-named Ultra.

Secret decoder ring

A secret decoder ring is a device which allows one to decode a simple substitution cipher - or to encrypt a message by working in the opposite direction.

The affine cipher is a type of monoalphabetic substitution cipher, where each letter in an alphabet is mapped to its numeric equivalent, encrypted using a simple mathematical function, and converted back to a letter. The formula used means that each letter encrypts to one other letter, and back again, meaning the cipher is essentially a standard substitution cipher with a rule governing which letter goes to which. As such, it has the weaknesses of all substitution ciphers. Each letter is enciphered with the function (ax + b) mod 26, where b is the magnitude of the shift.

Cryptography, the use of codes and ciphers to protect secrets, began thousands of years ago. Until recent decades, it has been the story of what might be called classic cryptography — that is, of methods of encryption that use pen and paper, or perhaps simple mechanical aids. In the early 20th century, the invention of complex mechanical and electromechanical machines, such as the Enigma rotor machine, provided more sophisticated and efficient means of encryption; and the subsequent introduction of electronics and computing has allowed elaborate schemes of still greater complexity, most of which are entirely unsuited to pen and paper.

Polybius square Type of code

The Polybius square, also known as the Polybius checkerboard, is a device invented by the ancient Greeks Cleoxenus and Democleitus, and made famous by the historian and scholar Polybius. The device is used for fractionating plaintext characters so that they can be represented by a smaller set of symbols, which is useful for telegraphy, steganography, and cryptography. The device was originally used for fire signalling, allowing for the coded transmission of any message, not just a finite amount of predetermined options as was the convention before.

In cryptography, a classical cipher is a type of cipher that was used historically but for the most part, has fallen into disuse. In contrast to modern cryptographic algorithms, most classical ciphers can be practically computed and solved by hand. However, they are also usually very simple to break with modern technology. The term includes the simple systems used since Greek and Roman times, the elaborate Renaissance ciphers, World War II cryptography such as the Enigma machine and beyond.

In cryptanalysis, Kasiski examination is a method of attacking polyalphabetic substitution ciphers, such as the Vigenère cipher. It was first published by Friedrich Kasiski in 1863, but seems to have been independently discovered by Charles Babbage as early as 1846.

Below is a timeline of notable events related to cryptography.

Polygraphic substitution is a cipher in which a uniform substitution is performed on blocks of letters. When the length of the block is specifically known, more precise terms are used: for instance, a cipher in which pairs of letters are substituted is bigraphic.

Alberti cipher Polyalphabetic substitution encryption and decryption system

The Alberti Cipher, created in 1467 by Italian architect Leon Battista Alberti, was one of the first polyalphabetic ciphers. In the opening pages of his treatise De componendis cifris he explained how his conversation with the papal secretary Leonardo Dati about a recently developed movable type printing press led to the development of his cipher wheel.

The Chaocipher is a cipher method invented by John Francis Byrne in 1918 and described in his 1953 autobiographical Silent Years. He believed Chaocipher was simple, yet unbreakable. Byrne stated that the machine he used to encipher his messages could be fitted into a cigar box. He offered cash rewards for anyone who could solve it.

References

  1. Deavours, Cipher, et al. Cryptology: Machines, History & Methods. Norwood, MA: Artech House, 1989.
  2. 1 2 Barker, Wayne G., ed. The History of Codes and Ciphers in the United States Prior to World War I. Vol. 20. Laguna Hills: Aegean Park P, 1978.
  3. Singh, Simon. The Code Book. New York: Doubleday, 1999.