Question: IN PYTHON PLEASE!! Problem 1 : One - Time Pad Implementation Tasks: the encryption and decryption process between two parties, Alice and Bob. Alice's Program

IN PYTHON PLEASE!! Problem 1: One-Time Pad Implementation
Tasks: the encryption and decryption process between two parties, Alice and Bob.
Alice's Program
Should prompt for a message input (plaintext), then display the ciphertext, and save both the
ciphertext (in hex) and the key (in hex) in separate files.
Bob's Program:
Should read the key and ciphertext from their respective files and display the decrypted
plaintext.
Problem 2: Implementing Many-Time Pad
Tasks: Modify the one-time pad implementation to encrypt multiple messages with the same key,
simulating a many-time pad scenario. The purpose of this problem is to see if there are any
recognizable patterns by observing the outputs. You can gain insights by changing the plaintexts or
the key to verify your findings. These findings would be useful in the next problem.
The program should encrypt a list of 10 predefined plaintext messages with a single key,
saving the plaintexts, key, and ciphertexts (all in hex) into a file. You can select 10 of your
favorite messages. Assume the key is long enough to do encryption to all the 10 messages.
 IN PYTHON PLEASE!! Problem 1: One-Time Pad Implementation Tasks: the encryption

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!