Question: Code must be written in python 1. Write a python program A which runs on computer A. Program A reads a provided text file called

Code must be written in python

1. Write a python program A which runs on computer A. Program A reads a provided text file called Input.dat. You are first required to remove all spaces and punctuation characters from this text file and write it to a new file called Clean.dat, which should contain only lowercase letters.

2. Program A is required to generate 100 random characters which are written to a file key.dat.

3. Program A is then required to use the Vigenere cipher to encrypt the Clean.dat file with the key from the key.dat file and write the result to a file called Encrypt.dat.

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!