Question: I forgot to post 3.1. Im gonna write in text as i cannot post picture of it 3 Program execution example You will code two
I forgot to post 3.1. Im gonna write in text as i cannot post picture of it
3 Program execution example
You will code two programs: one that will encrypt a message and simulate transmission by printing to the screen; and one that will accept an the transmitted (encrypted) message, decode it and display the decrypted message. The message is an ASCII message.
3.1 Encrypt program:
The encrypt program obtains a message from the user, the encryption keys and then produces an encrypted message. For example, when the user enters the message It is nice day, the program produces a sequence of numbers which represent the message to be transmitted.
For example: if the message is This is a rainy day and the encryption key is 63 then the program would produce 6 49 -17 98 -71 -76 47 -30 50 60 -44 115 -105 -83 -27 84 12 18 74


















ols Lay, Davi. Error Det assignme... (Robert)... | 106% 3.2 Decrypt program: The decrypt program obtains the encrypted message, the encryption key and then prints the decoded message For example if the input is 6 49-1798-71-76 47-30 50 60-44 115-105-83-27 84 12 18 74 Assignment 2 COMP 2401 Page2 of 12 and the key is 63 then program would produce This is a rainy day Example of execution 30889 sc oaa FS F6 FI
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
