OhMyCalc

Vigenere Cipher — Encrypt & Decrypt

Encrypt and decrypt text using the Vigenere polyalphabetic cipher with a keyword. Supports the Latin alphabet.

How to Use the Vigenere Cipher — Encrypt & Decrypt

  1. Enter or paste your text in the input field.
  2. The encoded or decoded result appears automatically.
  3. Copy the output using the copy button.
  4. Switch between encode and decode modes if available.

Referência Rápida

DePara
A65 (ASCII)
Z90 (ASCII)
a97 (ASCII)
048 (ASCII)
Space32 (ASCII)
@64 (ASCII)

Casos de Uso

Fórmula

Vigenere cipher: E(i) = (P(i) + K(i mod m)) mod 26, D(i) = (C(i) − K(i mod m)) mod 26, where K is the keyword of length m.

Perguntas Frequentes

What is the Vigenere cipher?
The Vigenere cipher is a polyalphabetic substitution cipher that uses a keyword to shift each letter by a different amount, making it harder to break than the Caesar cipher.
How does the keyword work?
Each letter of the keyword determines the shift for the corresponding plaintext letter. The keyword repeats cyclically for longer messages. For example, keyword 'KEY' applies shifts of 10, 4, 24 repeatedly.
Is the Vigenere cipher secure?
It was considered unbreakable for centuries but can be cracked using Kasiski examination or frequency analysis once the key length is determined. It is not suitable for modern security.
What characters are supported?
This tool processes Latin letters A–Z (case is preserved). Non-letter characters like digits, spaces, and punctuation pass through unchanged.