Answered step by step
Verified Expert Solution
Link Copied!

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
image text in transcribed
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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Current Trends In Database Technology Edbt 2006 Edbt 2006 Workshops Phd Datax Iidb Iiha Icsnw Qlqp Pim Parma And Reactivity On The Web Munich Germany March 2006 Revised Selected Papers Lncs 4254

Authors: Torsten Grust ,Hagen Hopfner ,Arantza Illarramendi ,Stefan Jablonski ,Marco Mesiti ,Sascha Muller ,Paula-Lavinia Patranjan ,Kai-Uwe Sattler ,Myra Spiliopoulou ,Jef Wijsen

2006th Edition

3540467882, 978-3540467885

More Books

Students also viewed these Databases questions

Question

1. Write down two or three of your greatest strengths.

Answered: 1 week ago

Question

What roles have these individuals played in your life?

Answered: 1 week ago

Question

2. Write two or three of your greatest weaknesses.

Answered: 1 week ago