Data and Network Security Lecture-07
Caesar Cipher Technique
The Caesar cipher is the simplest and oldest method of cryptography. The Caesar
cipher method is based on a mono-alphabetic cipher and is also called a shift cipher
or additive cipher. Julius Caesar used the shift cipher (additive cipher) technique to
communicate with his officers. For this reason, the shift cipher technique is called the
Caesar cipher. The Caesar cipher is a kind of replacement (substitution) cipher, where
all letter of plain text is replaced by another letter.
Let's take an example to understand the Caesar cipher, suppose we are shifting with
1, then A will be replaced by B, B will be replaced by C, C will be replaced by D, D will
be replaced by C, and this process continues until the entire plain text is finished.
Caesar ciphers is a weak method of cryptography. It can be easily hacked. It means
the message encrypted by this method can be easily decrypted.
Plaintext: It is a simple message written by the user.
Ciphertext: It is an encrypted message after applying some technique.
Instructor: Ms. Lubna Zafar
Data and Network Security Lecture-07
Instructor: Ms. Lubna Zafar
Data and Network Security Lecture-07
Instructor: Ms. Lubna Zafar
Data and Network Security Lecture-07
Instructor: Ms. Lubna Zafar
Data and Network Security Lecture-07
Advantages of Caesar cipher
Its benefits are as follows: -
1. It is very easy to implement.
2. This method is the simplest method of cryptography.
Instructor: Ms. Lubna Zafar
Data and Network Security Lecture-07
3. Only one short key is used in its entire process.
4. If a system does not use complex coding techniques, it is the best method for it.
5. It requires only a few computing resources.
Disadvantages of Caesar cipher
Its disadvantages are as follows: -
1. It can be easily hacked. It means the message encrypted by this method can be easily
decrypted.
2. It provides very little security.
3. By looking at the pattern of letters in it, the entire message can be decrypted.
Instructor: Ms. Lubna Zafar