Question: 1) Using any programming language of your choice implement the Rail Fence Cipher encryption algorithm 2) Specifications: The program should take two inputs 1) Message

 1) Using any programming language of your choice implement the Rail

1) Using any programming language of your choice implement the Rail Fence Cipher encryption algorithm 2) Specifications: The program should take two inputs 1) Message n 2) The key k, which is a tuple (d,r), where d is the depth of the cipher and r is the number of times the algorithm should repeat itself. The program should produce as output the encrypted message as text 3) What will be the decryption algorithm for a Rail-Fence cipher? Write down the pseudocode for the algorithm. 4) Using any programming language of your choice implement the Rail Fence Cipher decryption algorithm 5) Specifications: The program should take two inputs 1) Encrypted Message n 2) The key k, which is a tuple (d,r), where d is the depth of the cipher and r is the number of times the algorithm should repeat itself. The program should produce as output the decrypted message as text Test 1 (Encryption) 1) Using a key of (4,5) use your code to encrypt the following text: "CRYPTOLOGY IS THE PRACTICE AND STUDY OF TECHNIQUES FOR SECURE COMMUNICATION IN THE PRESENCE OF THIRD PARTIES CALLED ADVERSARIES." 2) Do not ignore spaces Test 2 (Decryption) 1) Using a key of (3,3) use your code to decrypt the following text: "TAOTINEN KAT I ODIOAEI OHHLSCTE TTETOEL BI IHI GAO EPSEA TO SS EEK ELRCPTSIY EANRPHMCYEK E CREAAIEJURTE IEASHI MA DRN RH AUWTA RF EFTFHENTPSF Q TAILB E TTECAPMSIYIY SRPURNTBL YCL OANAO E TVREAOSHOTTNULSRHK 2) Do not ignore spaces

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!