Tuesday, May 11, 2021

ENCRYPTION METHOD 5- VIGENERE CIPHER

 


* After most monoalphabetic ciphers were broken with the frequency analysis method, the search for a safer method has begun.

* French cryptographer Blaise de Veginere developed Veginere cipher  in 1586.

* This method is a derivative of the Caesar technique. It's differenses from Caesar is that it is shifted according to an unstable periodic number sequence. Therefore, repeating letters correspond to another letter each time. In other words, these cipher cannot be decrypted using the frequency method.

Curriculum topics related to Vigenere Cipher/ Aim: Sequences, Matrix, Permutation

HOW DOES IT WORK?

*   A square matrix board of type nxn is used for the alphabet with n letters.The standart table is as follows.

Vigenere

 PLAİNTEXT
ABCDEFGHIJKLMNOPQRSTUVWXYZ

KEY

TEXT

AABCDEFGHIJKLMNOPQRSTUVWXYZ
BBCDEFGH IJKLMNOPQRSTUVWXYZA
CCDEFGHIJKLMNOPQRSTUVWXYZAB
DDEFGHIJKLMNOPQRSTUVWXYZABC
EEFGHIJKLMNOPQRSTUVWXYZABCD
FFGHIJKLMNOPQRSTUVWXYZABCDE
GGHIJKLMNOPQRSTUVWXYZABCDEF
HHIJKLMNOPQRSTUVWXYZABCDEFG
 IIJKLMNOPQRSTUVWXYZABCDEFGH
JJKLMNOPQRSTUVWXYZABCDEFGHI
KKLMNOPQRSTUVWXYZABCDEFGHIJ
LLMNOPQRSTUVWXYZABCDEFGHIJK
MMNOPQRSTUVWXYZABCDEFGHIJKL
NNOPQRSTUVWXYZABCDEFGHIJKLM
OOPQRSTUVWXYZABCDEFGHIJKLMN
PPQRSTUVWXYZABCDEFGHIJKLMNO
QQRSTUVWXYZABCDEFGHIJKLMNOP
RRSTUVWXYZABCDEFGHIJKLMNOPQ
SSTUVWXYZABCDEFGHIJKLMNOPQR
TTUVWXYZABCDEFGHIJKLMNOPQRS
UUVWXYZABCDEFGHIJKLMNOPQRST
VVWXYZABCDEFGHIJKLMNOPQRSTU
WWXYZABCDEFGHIJKLMNOPQRSTUV
XXYZABCDEFGHIJKLMNOPQRSTUVW
YYZABCDEFGHIJKLMNOPQRSTUVWX
ZZABCDEFGHIJKLMNOPQRSTUVWXY

Vigenere Board (Tabula Recta)

There is a common key text that the sender and recipient know. From the first row (first horizontal) find the letters of the plain text, from the first column (first vertical) find the letters of the key text, and then combined. Intersection points create the encrypted text.

 

EXAMPLE

ENCRYPTION

If you want to encrypt " HELP ME QUICKLY PLEASE" plaitext with the "NİCE DAY"

PlaintextHELPMEQUICKLYPLEASE
KeytextNICEDAYHELPMEQUICKL
CiphertextUMNTPEOBMNZXCFFMCCP

You find "UMNTPEOBMNZXCFFMCCP" ciphertext.

Method:Vigenere, Plaintext: HELP ME QUICKLY PLEASE, Keytext= NICE DAY, Ciphertext= UMNTPEOBMNZXCFFMCCP

 

DECRYPTION

Decryption can make simularly with Vigenere board. If you want decrypt ciphertext "UMNTPEOBMNZXCFFMCCP"  with keytext "NİCE DAY"

CiphertextUMNTPEOBMNZXCFFMCCP
KeytextNICEDAYHELPMEQUICKL
PlaintextHELPMEQUICKLYPLEASE

You find Plaintext: HELP ME QUICKLY PLEASE






No comments:

Post a Comment

THIRD QUALITY LABEL FROM FRENCH GUIANA

  Magali Kervennic   and Lycee Balata  students have been  awarded the Quality Label  by the  French National  Support  Service.  Congratula...