- What you need is a passcode that you and your firend will share. For example, it could be "secret" or "alphabeta" or "abcghxy, all lower case alphabetic characters. Use different passcodes for different people. It can be a maximum of nine characters, all lower case. A very short passcode makes craking it somewhat easier.
- Now go to http://disted6.math.tamu.edu/techtools/flash/crypto/Vigenere.html.
- Enter your passcode in the box provided.
- Enter your message into the provided (left) box. Press the "Encrypt" button. Your encrypted message will appear in the next (right) box. Copy this message into your e-mailer, and send.
- Your friend will receive the message to copy and paste into the decrypt (right) box at the same URL. When he/she has enters the same password and presses the "Decrypt" button, the decrypted message will appear in the left box.
- Note: The code will not work with the iPad as iPad's are generally not Flash enabled. The encryption program is written in Flash
So, now you have fully functional encryption software for your personal use. Enjoy.
The next level of encryption , beyond the Caesar cipher (passcode is one character), in difficulty to crack is the Vigenère (pronounced "veedj-ih-nair") cipher, named after the Frenchman Blaise de Vigenère. It was first published in 1568. It is an example of a polyalphabetic cypher, meaning it uses several alphabetic characters to form the encryption. Instead of shifting the alphabet by a fixed length as does the Caesar cipher, it shifts by the numerical values* of a passcode successively through the message. So if the passcode is "dog," the first letter is shifted by "d" or four letters, the second by "o" or fourteen characters, the third by "g" or six characters, the fourth by "d" again, and so on repeating the passcode letters. If the shift goes beyond the letter "z," there is a wrap-around to the beginning of the alphabet. In this version of the Vigenere cipher, the lower case, upper case and numbers are all shifted within their context. Caps stay caps, numbers stay numbers, and likewise for small letters. This makes cracking the code using frequency counts far more difficult. Indeed, it was once considered the "unbreakable cypher." Nowadays this code is considered not overly difficult to crack (for a computer).
More advanced encryption yet. Assuming you require totally unbreakable codes, you should consider PGP (Pretty Good Privacy). It uses a far more advanced encryption algorithm. It is a bit more difficult to use. See http://en.wikipedia.org/wiki/Pretty_Good_Privacy
Final note: Using permutations, etc, of the passcode to extend the passcode, this simple script could be made to be seriously unbreakable. Commercial versions are available, with individual options.