Question: 1. During class lectures, you have been taught Caesar Cipher for encryption/ decryption of text. 2. Write down a computer code in any language (C,

1. During class lectures, you have been taught Caesar Cipher for encryption/ decryption of text. 2. Write down a computer code in any language (C, C++, Java, Python or in any other computer language) for the successful implementation of this encryption technique. C = E(K, p) = (p + K) mod 26 3. Your code must be able to encrypt at run time. 4. Your code must be able to show all steps at run time. 5. It must demonstrate (at least), encryption of your name successfully. 6. At run time of your code, must ask for key length with some limited integer value your code must ask to enter plain text for encryption (one sentence comprised of at least two words) 7. While entering text for encryption, your code must have checks for i. User do not enter any other character other than 'a' to 'z' ii. For encryption, code must check for entry of small letters. For entry of any invalid key. iv. For above points please put a check in the code. 8. Do 'Debugging'/ testing' of your code. 9. Output of your code must show ... for example; Encrypted Text is ABCD EFGH or you can display in a window
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
