You are on page 1of 7

Amazing Android Demo Version

Follow us on Sign Up or Log In or Log In via


Pinterest Search
Home Articles Community My Profile

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

Create a Stacked Cipher

Encipher Use Constrained Writing to Send a


Secret Message
Create Easy and Tough to Break
Obtain a Vigènere Square (pictured at the end of this article) or create a Vigènere Substitution Codes
1 Square on your own (see the Related wikiHows).

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

Make Hot Sauce

Policy Management navexglobal.com/policy-management


Learn How One Company Saved Time & Money with Software for
Policies! Meet a Community Member
Meet John, a semiretired geek and
wanderer who has been a member
Think of a keyword that is shorter than the phrase or phrases you want to of wikiHow for over 6 years. He
2 encipher. For this example we will use: spends most of his time on
LIME wikiHow reading the articles, but occasionally
he writes some himself. Many of the 38
articles he's started have been featured. His
proudest achievement is having published How

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!

Places to Visit + expand

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

Perform the above steps in reverse to decode ciphered text.


1

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

Become a Police Officer www.CompareTopSchools.com


Search For Colleges & Universities With Programs in Law
Enforcement.

Vigènere Square Edit

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.

Relationship Coaching www.TonyRobbins.com/life_strategy


Take Your Life To The Next Level. Try A Free Coaching Session
Today!
Official Dell EPP www.dell.com/EPP
Sign Up & Qualify For Discounts on Dell Products w/ Intel®
Core™.
Secure Your Cloud Data www.vormetric.com/secure-cloud-data

Learn How to Control and Protect Data in Private and Public
Clouds.

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.

Related wikiHows Edit

How to Create a Vigènere Square


How to Decode a Caesar Box Code
How to Recognize, Decipher, and Use NATO Phonetic Alphabet
How to Read and Write in 1337
How to Read 12 Digit UPC Barcodes
How to Make a Secret Note

Sources and Citations Edit

Vigènere Cipher on wikipedia


Online Converter for ROT5, ROT13, ROT18 and ROT47, which are probably the most used
Caesar ciphers in computing

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:

Discuss Print Email Edit Send fan mail to authors

Remote Access Software www.TeamViewer.com


Free Remote Access to any PC. Download the Software for Free!

Get CEH Certified www.SecurityUniversity.net


The Hands
file wasOn Training using
converted & Education. The Skills You NeedPlease
http://www.convertapi.com Today!purchase credits to remove this text http://www.convertapi.com/prices
Amazing Android Demo Version
Hands On Training & Education. The Skills You Need Today!

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

Home Explore Categories


About wikiHow
Arts and Entertainment Cars and Other Vehicles Computers and Electronics Education and Communications
Terms of Use Family Life Finance and Business Food and Entertaining Health
RSS Hobbies and Crafts Holidays and Traditions Home and Garden Other
Personal Care and Style Pets and Animals Philosophy and Religion Relationships
Site map
Sports and Fitness Travel wikiHow Work World
Youth

All text shared under a Powered by Mediawiki.


Creative Commons License.

The file was converted using http://www.convertapi.com Please purchase credits to remove this text http://www.convertapi.com/prices

You might also like