Lecture 1 (Vigenere Cipher)
Lecture 1 (Vigenere Cipher)
SECURITY
(CSD-410)
(Lecture 1)
IMPORTANT BOOKS
1. Cryptography and Network Security: Principles and Practice
by William Stallings, Seventh Edition.
▪ A polyalphabetic cipher.
▪ Key: LOCK
Plain
G I V E M O N E Y
Text:
KEY: L O C K L O C K
VIGENERE TABLE
EXAMPLE
Cipher
R W X O X C P O J
Text:
METHOD 2: WHEN VIGENERE
TABLE IS NOT GIVEN
▪ Encryption: Ci= Ei= (Pi+Ki) mod 26
▪ Key: PASCAL
P’s
18 07 04 08 18 11 08 18 19 04 13 08 13 06
Value
Key 15 00 18 02 00 11 15 00 18 02 00 11 15 00
C’s
07 07 22 10 18 22 23 18 11 6 13 19 02 06
value
Ciphe
H H W K S W X S L G N T C G
r text