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 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started