How to Encode and Decode Using the Vigènere Cipher

The Vigènere cipher is one of the classic ciphers, and was widely regarded as unbreakable from the 16th century through to the late 19th century. Although cryptanalysts have since proved this wrong, it's still a challenging cipher for non-professionals and can be a fun way to develop mathematical skills as well as cryptography knowledge.

Instructions

  1. Encrypt

    • 1

      Pick a plaintext message. This message can be any text at all, but shouldn't include punctuation or else it will be difficult to encrypt while retaining the meaning. Also, don't use the word "stop" to indicate periods.

    • 2

      Select a key, a sequence of letters to encrypt with, that's not longer than the plaintext message. This key is traditionally not a random sequence of letters, but is a word or words. Repeat the key until it matches the length of the plaintext.

    • 3

      Shift the plaintext a character at a time according to the distance of the matching key character.

    • 4

      Repeat the character replacement process until you've converted all of the plaintext. If the plaintext is longer than the key, start the key over again where it ends.

    Decrypt

    • 5

      Use the key to reverse the encryption, shifting in the opposite direction. For example, you would go back two characters for the "c" example in Section 1. Without the key, you'll have to use the steps below.

    • 6

      Copy the encrypted message and place that copy below the original, with the copy being one character shift to the right. Note the number of coincidences. Do this until you're finished with 75 percent of the message. The highest number of coincidences should indicate the length of the key.

    • 7

      Use frequency analysis by determining which characters appear most frequently within the bounds of the key length. If the message is in English, for example, the most frequently occurring letter should be "e."

Tips & Warnings

  • In algebra the encryption process looks a bit like this: Ci=Pi+Ki(Mod 26)

  • Without the key, the decryption process can be tricky. People have written entire novels without use of the letter "e," so you may have to try again with the next highest frequency letter, if the message makes no sense.

  • It is also possible that the key length has thrown you. Check the next highest coincidence count if all else fails.

Related Searches:

Comments

You May Also Like

  • How to Encode and Decode Using a Bible Cipher

    Comments. You May Also Like. How to Use the Vigenere Cipher. A cipher is a secret, coded way of writing. The Vigenère...

  • How to Use the Vigenere Cipher

    A cipher is a secret, coded way of writing. The Vigenère Cipher was proposed by Blaise de Vigenère in the late 1500s....

  • Java Tutorial on the Random Method

    Randomly generated numbers have many uses in computer programs, such as creating unpredictability in games, modeling simulations and performing encryption. Java ...

  • How to Make a Decoder Puzzle

    Encrypted, or coded, messages called ciphers belong to a field of study called cryptography. Cryptography ranges from simple ciphers a child could...

  • How to Create a Vigenere Square

    For cryptography fans, the Vigenere square represents a prime example of the ways that encryption was done before the advent of the...

  • How to Make Your Own SSL Certificate

    SSL certificates are not just for websites any more. Now, they are used for FTP access and email and even more applications....

  • How to Solve a Vigenere Cipher

    The Vigenere cipher takes a plain text sentence in conjunction with a keyword to create a cipher text. Without the keyword, it...

  • How to Solve a Cipher Key

    Cryptograms or cipher codes used for simple fun are puzzles where each letter in the alphabet is replaced by a different letter....

  • Where to Find Free Online Puzzle Games for Girls

    Playing games on the Internet can be a huge time-waster, or it can be a mind-bender. Girls can find a myriad of...

  • How to Turn a Sentence Into a Cipher for Cryptography

    Codes and ciphers have been the backbone of secret communication for hundreds of years. Wars have been won and lost based on...

  • What Is the Meaning of Encode & Decode?

    Encoding is the process of converting plain text into "code" or "ciphertext" and decoding converts the ciphertext back into plain text. Encoding...

  • How to Decode Sfic Code Keys

    SFIC keys are interchangeable locks used for doors. They run off key codes --- not the electronic type you use at an...

  • How to Encode Magnetic Cards

    Magnetic-stripe cards are all around us, from credit and debit cards to ID cards used by students and professionals. These cards use...

  • How to Recognize Aztec Art

    Comments. You May Also Like. How do I Find Aztec Symbols? The Aztec Empire was one of the great civilizations of Mexico...

  • How to Use Bit Shifting in Cryptography

    When you're sending an electronic message that you don't want anyone else to read, secure it with some form of encryption. The...

  • How to Create a Letter Decoder Wheel

    Children are fascinated by spies and codes, which ensure a letter decoding wheel should be a much-loved project. These wheels are used...

  • How to Solve a Number Cipher

    It's easy to solve number ciphers if you know the trick: some letters are more frequent in the English language than others....

  • How to Create a Cipher

    Ciphers and codes have been used since ancient times to conceal messages and notes. Sometimes keeping information controlled is deadly serious, but...

  • Poems About Missionary Work

    Missionary poetry is a genre of poetry written by missionaries or about missionary work. Growing in popularity with the rise of the...

Related Ads

Featured