The Beaufort Cipher is named after Sir Francis Beaufort. It is similar to the Vigenère, but the encryption and decryption is reciprocal (the encryption and decryption algorithms are the same). The Beaufort cipher is a polyalphabetic cipher, a series of Caesar ciphers, based on the letters of a keyword.
Beaufort Cipher Tool
Auto Solve Options
You can decode (decrypt) or encode (encrypt) your message with your key. If you don't have any key, you can try to auto solve (break) your cipher.
- Standard Mode v s Autokey Variant: The Autokey mode is a stronger variant of the cipher, where letters of the plaintext become part of the key. It eliminates the periodic repeats otherwise seen in polyalphabetic ciphers.
- Language: The language determines the letters and statistics used for decoding, encoding and auto solving.
- Min/Max Key Length: This is the search range for keys when auto solving a cipher.
- Iterations: The more iterations, the more time will be spent when auto solving a cipher.
- Max Results: This is the maximum number of results you will get from auto solving.
- Spacing Mode: This is about the spaces (word breaks) in the text. In most cases it should be set to Automatic. In case a specific letter (for instance X) is used as word separator, set it to Substitute.
Note: Auto Solve will try in the mode you select (Standard Mode or Autokey mode). Standard mode is the most common, but if you don't know the mode, you should try both.
Auto Solve results
Still not seeing the correct result? Then try experimenting with the Auto Solve settings or use the Cipher Identifier Tool.
- The Beaufort cipher is a polyalphabetic substitution cipher. The Enigma machine is another example of a (more complex) polyalphabetic substitution cipher.
- It was named after Sir Francis Beaufort, an Irish officer in the Royal Navy.
- The Beaufort cipher is reciprocal, that is, decryption and encryption algorithms are the same.
- A Beaufort cipher works similar to the Vigenère cipher, only that instead of adding letter values, it calculates the cipherletter = keyletter - plaintextletter.
- After applying an Atbash cipher, the Beaufort cipher can be broken using same methods as a Vigenère cipher.
Beaufort ciphers, and variants of it, are occasionally used in CTFs, geocaching mystery caches, and logic puzzles.
Sample Beaufort Cipher
Code-breaking is not only fun, but also a very good exercise for your brain and cognitive skills. Why don’t you try breaking this example cipher:
npfey ual qznqlgkzl tbxa al bbk pwrxufiey gzdqxcc pvy phtvxk hcf fgdye bwd ruh hthvv bj cipj zx fnwtwbd vhhf igd jakc hcf t nv jutab wu igd lwxwhef zfor pn npf puj byebu tq pn vdcf pj gpgr ut fiovhx
See also: Code-Breaking overview | Adfgvx cipher | Adfgx cipher | Affine cipher | Atbash cipher | Baconian cipher | Bifid cipher | Caesar cipher | Columnar transposition | Cryptogram | Double transposition | Enigma machine | Four-square cipher | Gronsfeld cipher | Keyed caesar cipher | One-time pad | Pigpen cipher | Playfair cipher | Rail fence cipher | Rot13 | Route transposition | Trifid cipher | Variant beaufort cipher | Vigenere cipher