Vigenère Cipher Encoder & Decoder
Guia
Vigenère Cipher Encoder & Decoder
Encrypt and decrypt text using the Vigenère cipher — the classic polyalphabetic substitution cipher once called “le chiffre indéchiffrable” (the indecipherable cipher). Enter your text and a keyword to get instant results with a step-by-step visualization, interactive tabula recta, and frequency analysis. All processing happens in your browser.
Como usar
Select Encode or Decode mode, enter your text and an alphabetic keyword. The cipher result updates instantly. Non-alphabetic characters (spaces, numbers, punctuation) pass through unchanged while preserving the original letter casing. Toggle Auto-Key mode to use the plaintext as a key extension. View the step-by-step breakdown to see each character’s shift, or explore the full tabula recta with highlighted rows and columns.
Características
- Encode & Decode — Switch between encryption and decryption with a single toggle. The algorithm handles both directions: C[i] = (P[i] + K[i]) mod 26 for encoding, P[i] = (C[i] – K[i] + 26) mod 26 for decoding.
- Case-Preserving Output — Uppercase input produces uppercase output, lowercase stays lowercase. Non-alphabetic characters pass through unchanged. The key only advances on alphabetic characters.
- Step-by-Step Visualization — See exactly how each character is encrypted or decrypted: the input character, aligned key character, shift amount (0–25), and resulting output character. Color-coded for clarity.
- Tabula Recta (Vigenère Square) — The full 26×26 substitution table with highlighted rows and columns showing the active key and plaintext letters. Scrollable on mobile devices.
- Auto-Key Mode — Optional variant where the plaintext extends the key after the keyword is exhausted. Shows how the extended key is constructed — useful for studying this stronger cipher variant.
- Frequency Analysis — Letter frequency bar chart of the output compared against standard English frequencies. Includes Index of Coincidence (IC) calculation for cryptanalysis practice.
- Reference Guide — Collapsible section covering the algorithm, history (Blaise de Vigenère, 16th century), and how it was broken (Kasiski examination, Friedman test).
O Algoritmo
The Vigenère cipher uses a repeating keyword to shift each letter by a different amount. For each alphabetic character in the plaintext, the corresponding key character determines the shift: A=0, B=1, …, Z=25. To encrypt: add the shift to the plaintext letter (mod 26). To decrypt: subtract the shift from the ciphertext letter (mod 26). Non-alphabetic characters are preserved in place, and the key index only advances on letters.
What is the Vigenère cipher?
How is the Vigenère cipher different from the Caesar cipher?
What is the auto-key variant?
What is the Index of Coincidence?
Instale nossas extensões
Adicione ferramentas de IO ao seu navegador favorito para acesso instantâneo e pesquisa mais rápida
恵 O placar chegou!
Placar é uma forma divertida de acompanhar seus jogos, todos os dados são armazenados em seu navegador. Mais recursos serão lançados em breve!
Ferramentas essenciais
Ver tudo Novas chegadas
Ver tudoAtualizar: Nosso ferramenta mais recente foi adicionado em Abr 9, 2026
