Beaufort cipher

The Beaufort cipher, created by Sir Francis Beaufort, is a substitution cipher similar to the Vigenère cipher, with a slightly modified enciphering mechanism and tableau.[1] Its most famous application was in a rotor-based cipher machine, the Hagelin M-209.[2]

Using the cipher

To encrypt, first choose the plaintext character from the top row of the tableau, call this column P. Secondly, travel down column P to the corresponding key Letter K. Finally, move directly left from the Key letter to the left edge of the tableau, the CipherText encryption of Plaintext P with Key K will be there.

For example if encrypting Plain text character "d" with Key "m" the steps would be:

  1. find the column with "d" on the top,
  2. travel down that column to find Key "m",
  3. travel to the left edge of the tableau to find the CipherText letter ("J" in this case).

To decrypt, the process is reversed. The Beaufort cipher is a reciprocal cipher, that is, Decryption and Encryption algorithms are the same.

Decrypting as a Vigenere cipher

Due to the similarities between the Beaufort cipher and the Vigenère cipher it is possible, after applying a transformation, to solve it as a Vigenère cipher. By replacing every letter in the ciphertext with its opposite letter (such that 'a' becomes 'z', 'b' becomes 'y' etc.) it can be solved like a Vigenère cipher.

Distinguished from 'variant Beaufort'

The Beaufort cipher should not be confused with the "variant Beaufort" cipher. In variant Beaufort, encryption is performed by performing the decryption step of the standard Vigenère cipher, and likewise decryption is performed by using Vigenère encryption.

References

  1. Franksen, Ole Immanuel, Babbage and cryptography. Or, the mystery of Admiral Beaufort's cipher. Mathematics and Computers in Simulation 35 (1993) 327-367
  2. Mollin, Richard A., An Introduction to Cryptography, page 100. Chapman & Hall/CRC, 2001


This article is issued from Wikipedia - version of the Friday, April 01, 2016. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.