Question: (a). Assume a message m is encrypted using the Shift cipher and the resulting ciphertext is as follows: JBCRCLQRWCRVNBJENBWRWN Please write a program that takes
(a). Assume a message m is encrypted using the Shift cipher and the resulting ciphertext is as follows:
JBCRCLQRWCRVNBJENBWRWN
Please write a program that takes the above ciphertext as input and outputs the corresponding values of m and key k. Please justify your answer. (Hint: your Program need to do an exhaustive search over 26 possible keys.) You can use any programming language that you are comfortable with.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
