Question: Please write me a simple python program that will prompt a user for a binary message made up string ( 0 s and 1 s

Please write me a simple python program that will prompt a user for a binary message made up string (0s and 1s). Can you generate a random binary key of same length as a message. If you can use XOR operation to encrypt the message and compare the binary message, binary key bit by bit, and decrypt the message back into the original binary form using the same key please.
Please Test the program with different inputs and record records using python script.
I also need a short reflection about the process 2 pages if can.

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 Programming Questions!