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 : OneTime 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 : Implementing ManyTime Pad
Tasks: Modify the onetime pad implementation to encrypt multiple messages with the same key,
simulating a manytime 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 predefined plaintext messages with a single key,
saving the plaintexts, key, and ciphertexts all in hex into a file. You can select of your
favorite messages. Assume the key is long enough to do encryption to all the messages.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
