Toolstia / Beaufort cipher

Beaufort cipher

The Beaufort cipher is a relative of Vigenere that subtracts each plain letter from the key letter. Enter a key and your text. The same steps encrypt and decrypt, and a variant mode is included.

Beaufort subtracts each plain letter from the key letter, so running the same steps again gives the original text. Variant Beaufort is the Vigenere cipher with the key reversed. Spaces and punctuation are kept and the key moves only on letters.

How it works

  1. Enter a key made of letters.
  2. Type the text and choose standard or variant Beaufort.
  3. Copy the result.

Reciprocal

Standard Beaufort is its own inverse. Running the cipher on the cipher text with the same key gives back the original.

Variant Beaufort

The variant subtracts the key from the plain letter, which is the same as Vigenere decryption. It needs separate encrypt and decrypt modes.

Case and symbols

Upper and lower case are kept, and spaces and punctuation pass through unchanged. The key advances only on letters.

History

It is named after Sir Francis Beaufort, who also created the wind force scale.

Questions

Is my text uploaded?

Everything happens in your browser, and nothing you enter is sent anywhere.

What if my key has numbers?

Only letters are used from the key. Anything else is ignored.

How is it different from Vigenere?

Vigenere adds the key and Beaufort subtracts the plain letter from the key, so the same key gives different text.