By
eHow Hobbies, Games & Toys Editor
Difficulty: Moderately Challenging
Encrypt
Step1
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.
Step2
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.
Step3
Shift the plaintext a character at a time according to the distance of the matching key character.
Step4
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
Step1
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.
Step2
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.
Step3
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."