← All tools
// Security

Vigenère Cipher online

Encrypt and decrypt text with the Vigenère polyalphabetic cipher

Vigenère Cipher logo
by
CHUNKY
MUNSTER
// Input text
// Output

How to Use This Free Vigenère Encryption Tool

  1. Enter your plaintext message.
  2. Enter a keyword - the key repeats to match the message length.
  3. Click Encrypt: each letter is shifted by the corresponding key letter's position in the alphabet.
  4. Click Decrypt (or enter ciphertext + same key) to reverse the process.

Vigenère Cipher: encrypt and decrypt text using the polyalphabetic substitution cipher method. Unlike a simple Caesar shift, this vigenere encryption technique uses a keyword to shift letters by varying amounts, making it much harder to crack with basic frequency analysis. This classical cryptography implementation allows you to explore how historical secret key encoder systems functioned before the advent of modern computer-based ciphers.

Understanding Polyalphabetic Cipher Mechanics

The core of the Vigenère Cipher is the tabula recta, a grid used to determine the shift for each letter based on the chosen key. While historically known as "le chiffre indéchiffrable," modern cryptanalysis tool methods like the Kasiski examination can break short keys through pattern detection. This substitution cipher provides a hands-on way to learn about encryption depth and the importance of key randomness, serving as a perfect introduction to more complex cryptographic concepts like the one-time pad.

Frequently Asked Questions

How does the Vigenère cipher work?

Each plaintext letter is shifted by the value of the corresponding key letter (A=0 shift, B=1 shift, ..., Z=25 shift). Key "KEY": K=10, E=4, Y=24. Plaintext "HELLO" → H+10=R, E+4=I, L+24=J, L+10=V, O+4=S → "RIJVS".

Is the Vigenère cipher secure?

No - it was broken in the 19th century. With a short keyword, even a few hundred characters of ciphertext can be broken with statistical analysis. It has no modern security applications.

What is the tabula recta?

A 26×26 grid where rows are shifts of the alphabet. Row A is the unshifted alphabet; row B is shifted 1; etc. To encrypt a letter with a key letter, find the column (plaintext) and row (key) and read the intersection.

What is the one-time pad and how does it relate to Vigenère?

A one-time pad is a Vigenère cipher where the key is as long as the message, used only once, and completely random. This is provably unbreakable (Shannon, 1949). The Vigenère cipher's weakness is its short, repeating key - fix both problems and you get the OTP.

Whether you're solving a puzzle or studying historical security methods, this cipher provides instant results with zero server interaction. Bookmark this page for the next time you need a fast Vigenère Cipher.