0
Rotation Encryption or Caesar Cipher
Data Structure and Algorithms
Encryption
Java
C

Caesar Cipher is a simple and interesting encryption technique, that any one can learn in no time. According to history, the Roman dictator "Gaius Julius Caesar" used this technique to protect the messages form the other military forces.

This encryption technique just deals with rotation of character in the text that you wanted to encrypt.

Just list out all the alphabets in a row and shift the number of place that you would like. The resultant character set, is your new Ciphered alphabets. The following diagram illustrates the technique: Here the alphabets are rotated to left by 3 characters

As you can see in the above diagram the alphabets had a left shift of 3 characters and a right shift of 23 characters. It is like rolling a pipe, where alphabets are glued along the surface.

Plain Text: ABCDEFGHIJKLMNOPQRSTUVWXYZ

Cipher Text: XYZABCDEFGHIJKLMNOPQRSTUVW

Now any of the normal text can be changed to Caesar Cipher text from the above new character set.

Example : Plain Text : I love Programming

Cipher Text: L oryh Surjudpplqj

There you go, you have a new language to pass on your secrets. You can any number of shifts to get some other combination of character set, the above one id called as (ROT3 Encryption used by King Caesar).

Author

?