Skip to content

visualizing the Playfair algorithm of decrypt and encrypt the message

Notifications You must be signed in to change notification settings

AbanoOoub/Playfair_Visualization

Repository files navigation

Playfair_Visualization

visualizing the playfair algorithm of decrypt and encrypt the message

Algorithm Explanation:

1- The playfair algorithm is based on the use of 5x5 matrix of letters constructed using a keyword (not repeated) 1

2- Plaintext is encrypted as two letters as a time, according to the following rules:

  • If both the letters are in the same row: Take the letter to the right of each one (going back to the leftmost if at the rightmost position).
  • If both the letters are in the same column: Take the letter below each one (going back to the top if at the bottom).
  • If neither of the above rules is true: Form a rectangle with the two letters and take the letters on the horizontal opposite corner of the rectangle. 2

Example: P.T = communication, Keyword = “playfairexample” 3

Example:

playfair.mp4

About

visualizing the Playfair algorithm of decrypt and encrypt the message

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages