Data Protection and Security

   

I

Introduction To Cryptography

   

I.III

Historic Examples of Simple Ciphers

   

   
 

Vigenere Cipher

Let m be some fixed positive integer. Define P=C=K= (Z26)m. For a key K = (k1,k2, ..., km), we define

EK(x1,x2,...,xm)=(x1+k1,x2+k2,...,xm+km)

DK(y1,y2,...,ym)=(y1-k1,y2-k2,...,ym-km)

where all operations are performed in Z26

Properties:

  • Shift Cipher and Substitution Cipher are monoalphabetic (each letter in plaintext is transformed to a fixed letter as ciphertext). Vigenere Cipher is polyalphabetic (transformation depends also on the location of the letter).
  • Polyalphabetic property (one-to-many correspondence) makes Vigenere Cipher stronger against frequency analysis. Nevertheless it was broken by Kasiski back in 1863.
 


Demo I.III-I

Demo that depicts the usage of Vigenere cipher.
[click to enlarge]

 


   
       
 
«previous session [1] [2] [3] next session »
   
       
 
«return to previous section proceed to next section »
  concepts »