Encrypt and decrypt text with the Beaufort cipher, a self-reciprocal polyalphabetic cipher using a keyword. Runs entirely in your browser.
Supported Tools:
Encrypt and decrypt text with the Beaufort cipher, a self-reciprocal keyword cipher. Runs entirely in your browser.
The Beaufort cipher is a polyalphabetic cipher related to Vigenere, used historically in the Hagelin rotor machines. Its defining feature is that it is reciprocal: the same operation both encrypts and decrypts. This tool applies Beaufort with a keyword you choose.
Input:
Text: DEFEND Keyword: FORT
Output:
CKMPSL
How is Beaufort different from Vigenere?
Vigenere adds the key to the plaintext; Beaufort subtracts the plaintext from the key. That subtraction is what makes Beaufort reciprocal.
Why one button for both directions?
Encryption and decryption are the identical operation for Beaufort, so the same transform handles both.
Is it secure?
No. Like Vigenere it falls to key-length analysis. It is for puzzles and learning.
Does my text leave the browser?
No. It runs locally in your browser.