Answered step by step
Verified Expert Solution
Question
1 Approved Answer
please post new answer. python. no python modules Part 1 Currently Caesar's Cipher works with 26 characters. You are required to extend this algorithm so
please post new answer. python. no python modules
Part 1 Currently Caesar's Cipher works with 26 characters. You are required to extend this algorithm so that it works with all ASCII characters including upper and lower case alphabet letters. What to Submit? Python Program file [20 marks) Part 2 Write a python program A that reads a text file called 'NoWar.dat' containing the contents of a letter addressed to Mr. Trump. The program should encrypt the contents of the file using Caesar's cipher from part 1 and then save to a file called 'Trump.dat'. The program should then send the 'Trump.dat' file to another computer running a python program B. Program B should accept the contents of the Trump.dat' file and save to the hard drive. Program B should then open the saved 'Trump.dat' and attempt to break the encryption by trial and error. This involves trying different keys until recognizable text is decoded. Once decoded program B should print the contents of 'NoWar.dat' to the screen. A sample of the screen shot from program B should be included in the submission along with the 'NoWar.dat' file. (Hint: finding recognizable text involves using a keywords that are likely to be present in the original letter to Mr. Trump] (Note: Any program A should be able to work with any program B and vice versa. This allows students to test their programs in a group of at least two persons. However, each student MUST write program A and B] What to Submit? a. Python file for Program A b. Python file for Program B C. Screen shot of Output of Program B d. NoWar.dat file (30 marks) Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started