Caesar's Cipher
| Caesar's Cipher | ||||
A substitution cipher is an extremely simple example of conventional cryptography. A substitution cipher substitutes one piece of information for another. This is most frequently done by offsetting letters of the alphabet. In Julius Caesar's cipher, the algorithm is to offset the alphabet and the key is the number of characters to offset it. For example, if we encode the word "SECRET" using Caesar's key value of 3, we offset the alphabet so that the 3rd letter down (D) begins the alphabet.
where A=D (A encrypts as D) , B=E, C=F, and so on. Using this scheme, the plaintext, "SECRET" encrypts as "VHFUHW." To allow someone else to read the ciphertext, you tell them that the key is 3. |
| Breaking of Ceaser's Cipher |
|
But, it worked for Caesar, and it illustrates how
conventional cryptography works. |