Professional Documents
Culture Documents
VIGENERE CIPHER
BY:
SOWMYAPRABHA VS
1731049
Vigenere Cipher
Encryption
• To encrypt, pick a letter in the plaintext and
its corresponding letter in the keyword
• Use the keyword letter as the row index and
the plaintext letter column index
• The entry at the row-column intersection is
the letter in the ciphertext.
Example
• Plaintext - MICHIGAN
• Keyword - HOUGHTON
• Encrypted word – TWWNPZOA
Method 1
Decryption
First, select the row of the key letter, find
the ciphertext letter's position in that row,
and then select the column label of the
corresponding ciphertext as the plaintext.
Example
• Keyword - HOUGHTON
• Encrypted word – TWWNPZOA
• Plaintext - MICHIGAN
Method 2
When the vigenere table is not given, the encryption and decryption are done
by Vigenar algebraically formula in this method (convert the letters (A-Z) into
the numbers (0-25)).
Encryption
• E = (P + K ) mod 26
i i i
Decryption
• D = (E - K + 26) mod 26
i i i
Disadvantages of Vigenere Cipher