LEMON ATTACK AT DAWN
LXFOPV EF RNHR
Keyword: LEMON. Mode: encrypt. Each keyword letter creates a different Caesar-style shift.
Encrypt and decrypt text with the Vigenere cipher using a custom keyword and selectable alphabet. One of the most famous polyalphabetic ciphers in classical cryptography.
LEMON ATTACK AT DAWN
LXFOPV EF RNHR
Keyword: LEMON. Mode: encrypt. Each keyword letter creates a different Caesar-style shift.
LEMON LXFOPV EF RNHR
ATTACK AT DAWN
Keyword: LEMON. Mode: decrypt. The same keyword restores the original message.
KEY HELLO WORLD
RIJVS UYVJN
Keyword: KEY. The keyword is repeated automatically when the text is longer than the key.
SECRET HELLO, WORLD!
ZINCS, PGVNU!
Only alphabet characters are encrypted. Spaces, punctuation marks, and other symbols remain unchanged.
The Vigenere cipher is a polyalphabetic substitution cipher that uses a keyword to determine how each letter in the message is shifted. Unlike the Caesar cipher, which uses a single shift value, Vigenere applies a different shift for each character based on the corresponding letter of the keyword.
If the keyword is shorter than the message, it is repeated until the entire text is processed. Each keyword letter defines a Caesar-style shift, creating a sequence of changing substitutions across the message.
This approach makes simple frequency analysis more difficult and historically made the Vigenere cipher one of the most important classical encryption methods.
The Caesar cipher uses a single constant shift for the entire message. The Vigenere cipher improves on this idea by using a keyword that changes the shift from letter to letter.
Because multiple substitutions are used throughout the text, Vigenere is generally more resistant to basic cryptanalysis than Caesar. However, it is still considered insecure by modern standards.
The Vigenere cipher is named after the French diplomat Blaise de Vigenere, who described a related polyalphabetic encryption method in the 16th century. For centuries it was considered one of the strongest practical ciphers available.
Because it resisted simple frequency analysis, the cipher earned the nickname 'the indecipherable cipher' before more advanced cryptanalytic techniques were developed.
Classic letter-shift cipher with custom shift values.
Classic digraph substitution cipher with keyword matrix encryption.
Classical reciprocal cipher based on a keyword.
Vigenere-style classical cipher that uses a numeric key.
XOR-based Vernam encryption with Base64 output.
Classical A/B encoding and text steganography with the Bacon cipher.