FORT DEFEND THE EAST WALL
CKMPSL YMB KRBM SRIU
Keyword: FORT. The repeating keyword is applied to each letter while spaces are preserved unchanged.
Encrypt and decrypt text with the Beaufort cipher online using a keyword and selectable alphabet. A classical polyalphabetic cipher where the same operation can be used for both encryption and decryption.
FORT DEFEND THE EAST WALL
CKMPSL YMB KRBM SRIU
Keyword: FORT. The repeating keyword is applied to each letter while spaces are preserved unchanged.
FORT CKMPSL YMB KRBM SRIU
DEFEND THE EAST WALL
Keyword: FORT. Beaufort is reciprocal, so applying the same transformation again restores the original message.
FORT HELLO WORLD
YKGIR SDCUL
Keyword: FORT. Each plaintext letter is transformed using the current keyword letter, then the keyword repeats.
FORT MEET AT 9 PM!
TKNA FV 9 CH!
Keyword: FORT. Only letters are transformed; spaces, punctuation marks, numbers, and other symbols remain unchanged.
The Beaufort cipher is a classical polyalphabetic substitution cipher that uses a repeating keyword to transform text. Unlike the Vigenere cipher, each output letter is calculated from the key letter and the plaintext letter using a reversed relationship.
The most distinctive feature of the Beaufort cipher is its reciprocal nature. The same transformation is used for both encryption and decryption, which means the same keyword can process text in either direction.
Because the cipher changes substitutions based on the current key letter, it is more resistant to simple frequency analysis than monoalphabetic ciphers such as Caesar.
The Beaufort cipher belongs to the same family of keyword-based polyalphabetic ciphers as Vigenere. Both use a repeating keyword and a tabula recta style alphabet table.
The main difference is the encryption formula. In the Beaufort cipher, the key letter effectively determines the starting position and the plaintext letter is subtracted from it. This creates a reciprocal system where encryption and decryption use the same operation.
Although the practical security level is similar, Beaufort is often studied because of its elegant symmetry and historical use.
The Beaufort cipher is named after Sir Francis Beaufort, a British naval officer best known for creating the Beaufort wind force scale. The cipher became associated with military and naval communication during the nineteenth century.
Today it is mainly used in education, cryptography courses, and historical cipher collections. While no longer secure for real-world communication, it remains an important example of classical polyalphabetic encryption.
Classic letter-shift cipher with custom shift values.
Classic digraph substitution cipher with keyword matrix encryption.
Vigenere-style classical cipher that uses a numeric key.
Keyword-based polyalphabetic encryption and decryption.
XOR-based Vernam encryption with Base64 output.
Classical A/B encoding and text steganography with the Bacon cipher.