0% found this document useful (0 votes)
51 views16 pages

Vigenere Cipher

Uploaded by

bcs07183008
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
51 views16 pages

Vigenere Cipher

Uploaded by

bcs07183008
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 16

Vigenere Cipher

Vigenere Cipher

• The Vigenere cipher is the kind of


polyalphabetic cipher(that the same
plaintext letter is encrypted to a
different Ciphertext letter each
time)
Vigenere Cipher

• It was design by Blaise de Vigenere,


a 16th century French mathematician.

• It was used in the American civil war and


was once believed to be unbreakable.
Vigenere cipher Table
o Consist of 26 rows and 26 column
o 1st row contains the original
alphabets from A – Z
o In each subsequent row the
alphabet is shifted by one letter to
the right.
o All the column are labeled by
alphabets from A to Z
o All the rows are also labeled by
alphabets from A to Z
Encryption With Vigenere Cipher

• Let’s assume that we want to encrypt this


message
• Plaintext PAKISTAN
• Key LOCK
• Ciphertext = ????
Encryption With Vigenere Cipher

• Repeat the letter of key so that the number of letters in


plaintext and key becomes equal
Plaintext P A K I S T A N
Key L O C K L O C K
• Take the first element of plaintext and key , and find the
intersection of row and column
Encryption With Vigenere Cipher
Plaintext P A K I S T A N
Key L O C K L O C K

• Column P and row L intersect


at A, so cipher letter become A.

Ciphertext = A
Encryption With Vigenere Cipher
Plaintext P A K I S T A N
Key L O C K L O C K

• Column A and row O intersect


at O, so cipher letter become O.

Ciphertext = A O
Encryption With Vigenere Cipher
Plaintext P A K I S T A N
Key L O C K L O C K

• Column K and row C intersect


at M, so cipher letter become M.

Ciphertext = A O M
Encryption With Vigenere Cipher
Plaintext P A K I S T A N
Key L O C K L O C K

Ciphertext = A O M S D H C X

So PAKISTAN becomes AOMSDHCX


Decryption With Vigenere Cipher

Ciphertext A O M S D H C X
Key L O C K L O C K
Decryption With Vigenere Cipher
Ciphertext A O M S D H C X
Key L O C K L O C K

• Find the row L and letter


A in row L

Plaintext = P
Decryption With Vigenere Cipher
Ciphertext A O M S D H C X
Key L O C K L O C K

• Find the row O and letter


O in row

Plaintext = PA
Decryption With Vigenere Cipher
Ciphertext A O M S D H C X
Key L O C K L O C K

• Find the row C and letter


M in row

Plaintext = PA K
Decryption With Vigenere Cipher
Ciphertext A O M S D H C X
Key L O C K L O C K

Plaintext = PA KISTAN

So we get PAKISTAN from AOMSDHCX


• PLAINTEXT: HOLIDAY
• KEY:TODAY
• Cipher:acoibtm

You might also like