Question: Using Phyton3 only This is beginners class. Do not write anything too advance. Put comments to explain the code. Using Python3, implement a Caesar cipher

Using Phyton3 only

This is beginners class. Do not write anything too advance. Put comments to explain the code.

Using Python3, implement a Caesar cipher to a text file (*.txt) (not case sensitive) by assigning a random n value between [-1,25]. Your algorithm should use a text file as the input in the encrypting phase. Also it is required to select a special alphabetic character randomly, and leave that special key character unchanged. After encrypting the file, the program should produce two outputs, a key file containing the n value and the special character, and the encrypted text file. You should avoid encrypting the special character, white space, numerical characters, punctuation marks, and other UTF-8 symbols.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!