Vigenere Code
Vigenere Code
Vigenere Code
Home » Categories » Hobbies and Crafts » Games » Puzzles and Memory Games Edit
Write An Article Random Article
How to Encode and Decode Using the
Vigènere Cipher
Edited by Josh W., Flickety, Jonathan Thorne, Jack Herrick and 21 others
Pin It
Article Edit Discuss
The Vigènere cipher is a method of encryption that uses a series of different "Caesar ciphers"
based on the letters of a keyword. In a Caesar Cipher, each letter in the passage is moved a
certain number of letters over, to be replaced by the corresponding letter. For example, this would
mean that in a Caesar cipher shift of three: A would become D; B would become E; C would
become F etc. A Vigènere cipher builds on this method by using multiple Caesar ciphers at
different points in the message; this article shows you how to use it.
Related Articles
Steps Edit
Write in Skip a Letter Code
Ads by Google
How to Write a Letter
Cipher
Encode and DECODE
Decoder
How to Use
Featured Articles
Detox
Make Homemade Hummingbird
Nectar
Do a Breast Self Exam
The file was converted using http://www.convertapi.com Please purchase credits to remove this text http://www.convertapi.com/prices
Amazing Android Demo Version
proudest achievement is having published How
to Plot the Mandelbrot Set By Hand.
Join The Community
Things to Do - collapse
Write an Article
Edit this Article
Request a New Article
Answer a Request
Login for more!
Follow Us On...
Write down your message without spaces. For this example we will use:
3 WIKIHOWISTHEBEST
Write the keyword under your message, carefully lining each letter up with a
4 letter from your message. Do this until you run out of message:
WIKIHOWISTHEBEST
LIMELIMELIMELIME
The file was converted using http://www.convertapi.com Please purchase credits to remove this text http://www.convertapi.com/prices
Amazing Android Demo Version
Cut the keyword to fit the phrase if needed. In the example used for this article, the
5 word
LIME
fits perfectly but when the keyword is not a perfect fit, there is no need to use the full word.
For example:
WIKIHOWISTHEBESTOFTHEBEST
LIMELIMELIMELIMELIMELIMEL
Go to the row of the first letter of the keyword in the Vigènere Square and go to
6 the column of the first letter of the actual message and find the intersection point
of the row and column. That's your cipher letter.
Continue on in this fashion until your entire phrase is ciphered. The example ends
7 up as:
LAYEWGKEHLVAQWGP
The file was converted using http://www.convertapi.com Please purchase credits to remove this text http://www.convertapi.com/prices
Amazing Android Demo Version
Decipher
Find the column of the first letter of the ciphered text, and go over until you
2 reach the row of the first letter of the keyword. That letter is the first letter of the
encoded phrase.
The file was converted using http://www.convertapi.com Please purchase credits to remove this text http://www.convertapi.com/prices
Amazing Android Demo Version
Continue on in this manner until you completely decipher the text.
3
Finished.
4
Tips Edit
Double check to make sure you encipher correctly. An erroneously enciphered text can be
impossible to interpret correctly, and it is difficult to recognize a mistake without a double-
check.
When giving this to someone else, they need to know the keyword to decipher the code, so
secretly whisper it to them or use a predetermined Caesar cipher to encipher the keyword as
well.
The file was converted using http://www.convertapi.com Please purchase credits to remove this text http://www.convertapi.com/prices
Amazing Android Demo Version
If you use a larger Vigènere square which includes both punctuation and spacing, the cipher
becomes more difficult to break. This is especially so when the "keyword" or "key phrase" is as
long or longer than the message.
Another method of encryption is to find a corresponding letter in a row and column
intersection. In this case "letter W and L is H" and so on. WIKIHOWISTHEBEST becomes
HQWMSWIMDBTIMMEX.
The more often your "Keyword" or "Key Phrase" repeats the more easily patterns are detected
in the encrypted text and the easier it is to break the cipher. A "Key" as long or longer than the
length of the message is preferable.
Another method to further obfuscate your message is to Caesar cipher the original message
using a predetermined value (for example: Like ROT13), then run it through a Vigènere cipher.
Even if decoded, without knowing the result has been Caesar ciphered before the Vigènere
cipher is used, it will still appear to be gibberish.
There are online Vigènere Deciphers you can use to help decipher your code. Do a search to
find them.
Warnings Edit
This cipher is not fool-proof (no cipher is) and can be quickly cracked. By current standards,
the Vigènere cipher is extremely weak. Do not use this for anything truly top-secret. For
stronger encryption research AES and RSA . This cipher can, however, be used with a one
time pad (a truly random encryption key the same length as the text that is only used once) to
produce a cipher text that, as long as the key is secure, can not be cracked.
Article Info
Categories: Featured Articles | Puzzles and Memory Games | Codes and Hidden Featured Article
Messaging
Recent edits by: KamiDesu, Silver Diadem, Michaelabrams01
Share this Article:
Thanks to all authors for creating a page that has been read 156,341 times.
Was this article accurate?
Yes No
Search
the how to manual that you can edit
The file was converted using http://www.convertapi.com Please purchase credits to remove this text http://www.convertapi.com/prices