Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Below you will find Lab07 Requirements, as well as a list of requirements all labs must have In Lab07 you will be creating two programs:

image text in transcribed
Below you will find Lab07 Requirements, as well as a list of requirements all labs must have In Lab07 you will be creating two programs: 1) Write a program that inputs a plaintext file and a distance value, and outputs an encrypted text file using a Caesar cipher. The script should work for any printable characters 2) Write a program that inputs an encrypted text file and a distance value, and outputs plaintext file using a Caesar cipher. The script should work for any printable characters. Lab07 Hints: - Get the input and output fle names from the user - Use for loop (eg for ch in "File variable") - Use ord0 and chr() functions - Remember to test this by running different file in and out of encryption Lab07 Requirements: - Create two python programs, Encrypt and Decrypt - Ask the user for the names of the input and output files - Ask the user for the distance value - Open input file and read text - Open output file and write text - Provide a test plaintext and encryption flle - Include a note for what the distance value is

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

More Books

Students also viewed these Databases questions