Question: Python code Problem 7. Naming your new function rotEncrypt() and rotDecrypt. Follow up from the above problem. Rotation amounts will always be an integer greater
6 Encryption often involves the Caesar cipher-named after Julius Caesar, who used the system to encrypt military messages. Many early Internet users also adopted this cipher. Called rot13, the cipher encrypts a message by rotating the plaintext character by 13 positions in the alphabet. For e n" becomes "a". The nice thing about rot13 is that the same function can be used to encrypt and decrypt a message. Write a function called rot13 that takes a message as a parameter and rotates all the characters by 13 places. n" and likewise 7 Rewrite the Caesar cipher so that it takes the number of places to rotate as a param- eter. You will have to write separate encrypt and decrypt functions
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
