Question: Problem 2b. Using the ciphertext you generated from Problem 2a , write a program to decrypt ciphertext into plaintext using the Playfair cipher. Your program

 Problem 2b. Using the ciphertext you generated from Problem 2a ,

Problem 2b. Using the ciphertext you generated from Problem 2a , write a program to decrypt ciphertext into plaintext using the Playfair cipher. Your program is to print or graph results

Above i have made a change to the problem, please pay attention to the bold letter.

Thanks

1a) Plain text- if he had anything confidential to say, he wrote it in cipher, that is, by so changing the order of the letters of the alphabet, that not a word could be made out." Problem 2a. Using the original plaintext from Problem la, write a program to encrypt plaintext into cipher using the Playfair cipher. Getting started: 1. 1. Use the 5 by 5 matrix with keyword monarchy. 2. Iterate over each character of the plain text: 1. If the character is alphabet: Follow the four rules on page 39 of the course text to encrypt two plaintext letters at a time. 2. Calculate the position/index of the character in the 0-25 range. 3. Find the character at the new position. 4. Replace the current letter by this new character. 2. Else, If the character is not alphabet, ignore the character, and move to the next position in the plaintext. with no change. 3. Your program is to print or graph results Problem 2b. Using the ciphertext you generated from Problem la, write a program to decrypt ciphertext into plaintext using the Playfair cipher. Your program is to print or graph results Playfair Ciphers SIA R M C E L U O H F P V N Y G B I/J S X AVEN W Multiple-letter encryption cipher Rules 1. Repeating plaintext letters: balloon >> balxloon 2. Two plaintext letters that fall in the same row: ar >> RM 3. Two plaintext letters that fall in the same column: mu >> CM 4. Otherwise, each plaintext letter in a pair is replaced by the letter that lies in its own row and the column: hs >> BP and ea>>IM or JM Please USE MATLAB FOR PROGRAMING 1a) Plain text- if he had anything confidential to say, he wrote it in cipher, that is, by so changing the order of the letters of the alphabet, that not a word could be made out." Problem 2a. Using the original plaintext from Problem la, write a program to encrypt plaintext into cipher using the Playfair cipher. Getting started: 1. 1. Use the 5 by 5 matrix with keyword monarchy. 2. Iterate over each character of the plain text: 1. If the character is alphabet: Follow the four rules on page 39 of the course text to encrypt two plaintext letters at a time. 2. Calculate the position/index of the character in the 0-25 range. 3. Find the character at the new position. 4. Replace the current letter by this new character. 2. Else, If the character is not alphabet, ignore the character, and move to the next position in the plaintext. with no change. 3. Your program is to print or graph results Problem 2b. Using the ciphertext you generated from Problem la, write a program to decrypt ciphertext into plaintext using the Playfair cipher. Your program is to print or graph results Playfair Ciphers SIA R M C E L U O H F P V N Y G B I/J S X AVEN W Multiple-letter encryption cipher Rules 1. Repeating plaintext letters: balloon >> balxloon 2. Two plaintext letters that fall in the same row: ar >> RM 3. Two plaintext letters that fall in the same column: mu >> CM 4. Otherwise, each plaintext letter in a pair is replaced by the letter that lies in its own row and the column: hs >> BP and ea>>IM or JM Please USE MATLAB FOR PROGRAMING

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!