Download as pdf or txt
Download as pdf or txt
You are on page 1of 10

Dr.

Selva Rani B

Classical Encryption Techniques

Part - I
Classical Techniques
Substitution Transposition
• Caesar Cipher • Rail fence Cipher
Dr. Selva Rani B

• Monoalphabetic Cipher • Scytale Cipher


• Playfair Cipher • Route cipher
• Hill Cipher • Columnar
• Polyalphabetic Cipher Transposition
• Double Transposition
Rail fence Cipher
• Permutation of the plaintext characters
• Plaintext is written down as a sequence of
diagonals
Dr. Selva Rani B

• Read off as a sequence of rows


• Plaintext : weareattacked R = 2
W A E T A K D
E R A T C E

• Ciphertext : waetakd | eratce = 13/2 = 7+6


W A E T A K D
E R A T C E
Rail fence Cipher
• Plaintext : weareunderattack
W E E T
Dr. Selva Rani B

E U R A
A N A C
R D T K

• Ciphertext : weet | eura | anac | rdtk R = 4 16/4=4

W e e t
e u r A
Columnar Transposition
Encryption
• Plaintext : ATTACK POSTPONEDTONIGHT TEN = 25
• Key : RIVER = 5
R I V E R
Dr. Selva Rani B

3 2 5 1 4
A T T A C
K P O S T
P O N E D
T O N I G
H T T E N
Ciphertext : ASEIETPOOTAKPTHCTDGNTONNT
Columnar Transposition
Decryption
• Ciphertext : ASEIE | TPOOT | AKPTH | CTDGN | TONNT

R I V E R
Dr. Selva Rani B

3 2 5 1 4
A
S
E
I
E
Columnar Transposition
Decryption
• Ciphertext : ASEIE | TPOOT | AKPTH | CTDGN | TONNT

R I V E R
Dr. Selva Rani B

3 2 5 1 4
T A
P S
O E
O I
T E
Columnar Transposition
Decryption
• Ciphertext : ASEIE | TPOOT | AKPTH | CTDGN | TONNT

R I V E R
Dr. Selva Rani B

3 2 5 1 4
A T A
K P S
P O E
T O I
H T E
Columnar Transposition
Decryption
• Ciphertext : ASEIE | TPOOT | AKPTH | CTDGN | TONNT

R I V E R
Dr. Selva Rani B

3 2 5 1 4
A T A C
K P S T
P O E D
T O I G
H T E N
Columnar Transposition
Decryption
• Ciphertext : ASEIE | TPOOT | AKPTH | CTDGN | TONNT

R I V E R
Dr. Selva Rani B

3 2 5 1 4
A T T A C
K P O S T
P O N E D
T O N I G
H T T E N

• Recovered Plaintext : ATTACKPOSTPONEDTONIGHTTEN

You might also like