Question: using Python and without any Python modules NoWar.dat must be created yourself Part 1 Currently Caesar's Cipher works with 26 characters. You are required to

using Python and without any Python modules
using Python and without any Python modules NoWar.dat must be created yourself
Part 1 Currently Caesar's Cipher works with 26 characters. You are required
NoWar.dat must be created yourself

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. 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]

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!