Question: Question 2 ( 1 5 points ) . Please use the problem - solving process for this question. According to Wikipedia, a Caesar cipher, also
Question points Please use the problemsolving process for this question. According to Wikipedia, a Caesar cipher, also known as Caesar's cipher, the shift cipher, Caesar's code or Caesar shift, is one of the simplest and most widely known encryption Links to an external site. techniques. It is a type of substitution cipher Links to an external site. in which each letter in the plaintext Links to an external site. is replaced by a letter some fixed number of positions down the alphabet Links to an external site.. For example, with a left shift of D would be replaced by A E would become B and so on The method is named after Julius Caesar
Links to an external site., who used it in his private correspondence.
Problem. Write an application, goCaesar, that will take in a message and a key and output the encrypted message. Your code should be able to take in text input from the keyboard.
Please use exception handling to make sure the user inputs an integer for the key value.
Your code should also be able to decrypt the following: JHRUJLDIRRWEDOOURFNV" using a Key of
SAMPLE: Output
My input plain text is: WORKHARD
My output cipher text is: ZRUNKDUG
My input cipher text is: ZRUNKDUG
My output plain text is: WORKHARD
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
