Blaise de Vigenère

Understanding the Vigenère Cipher

The Vigenère cipher is a method of encrypting alphabetic text by using a series of different Caesar ciphers based on the letters of a keyword. It is a simple form of polyalphabetic substitution. The method was originally described by Giovan Battista Bellaso in his 1553 book La cifra del. Sig. Giovan Battista Bellaso; however, the scheme was later misattributed to Blaise de Vigenère in the 19th century, and is now widely known as the "Vigenère cipher" (wikipedia).

This cipher is  is easy to understand and implement, it often appears to beginners to be unbreakable. For example suppose we wish to encrypt the word "PUPPY" with the keyword "CAT".  In the chart on the left encrypt the first letter "P" with the letter "C" by finding the intersection between the P-row and C-column.  The result is the letter "R".  Now use the keyword letter "A" to encrypt "U" and the keyword letter "T" to encrypt "P".  When the letters in the keyword are exhausted, continue the encryption by using the letter at the beginning of the keyword.  Hence "PUPPY" becomes "RUIRY".

In the example below, the 94 printable characters of the ASCII code are used, i.e.:

  !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~

To execute the code, enter the plain text, a keyword, and click the ENCRYPT button.  To reverse the process, copy the result in the encrypted text box, paste it into the plain text box, enter the password, and click the DECRYPT button.

 

 

Enter Plain Text:     Enter Password:      

 
   

Below are histograms of the two sets of ASCII code.  The change in the ASCII spectrum for a Vigenère cipher is more complex than the simple shift of the Caesar cipher in that it tends to spread out the spectrum and remove obvious peaks.  A longer password results in a greater spread.
 

 

Plain Text ASCII Historgram

Encrypted Text ASCII Histogram

 

Based on the above description, cut and paste the encrypted text below into the plain text box.  Password Hint:  The object of Juliet's affection.  If you get it, let me know at IX[HTIY.RcA}PT] (this is my email encrypted using the same password used to encrypt the message below).  Good Luck!!

 

(g]eWBeaJWB[QX{RQ]YWRPYNZ8oVSo7XTSXGiyeXAoSFXEoDJbB^NqoJWRWTRgRe[4imTeEoaHTATyeUE_ZePARVJ^GoTWe7VReQETNPoG_mSTJoZZd<^gqoJWRWTRRV[X?oOQ_BSmRP>TaeR<fVQo;P[IcRe[H[8P[soyb]Ro9_`YWRdUJo9PbF[R[]N^Fo]KoGWRXTRdeTo9_RXo4o^FXEo]KoFdNW|6b]XcYSmQ_IT`XoGPXJoGWRNbR[VKTnoeM_FTmRXFPQ[TAdcWT7o^Nd8_cXoBfRWd;b]]cRS]eg<dUed;TVWo7TNYWRQcWiRdUJXEo^Fb8^bXvRcbWX9T{eD;TmKT4bSZ[R`NXc4VRe_9obMT<bmIT4dUr]4bXlSR[][T_oNSSRdUJo6_[YXAeNSR8o]KoGWRNbR`NWTAdaloEPTJ{RgUNR;{mGeGobMT<bmHW<[QWTAvaeTASye^BeTMdRR]Z[7o`J]BfRqo<cmS_JobMTRdeTo;_cWcYobWP9UVHoBUmTeEoaYP:T)ed;Tm]W<RUeX9ogTeRgVYWR`NYX8^beT4baePGdRSS_oeMPGoUJb8oaMP?[mRXFcye_HbmY_<[mXW4[YecGbV[TRd]e]8^Qs

Return to Cryptography Page

Hit Counter