Question: MASM assembly language Task II Make a program that gets a plain text and a key as input. Use the key to encrypt and decrypt

MASM assembly language

MASM assembly language Task II Make a program that gets a plaintext and a key as input. Use the key to encrypt and

Task II Make a program that gets a plain text and a key as input. Use the key to encrypt and decrypt the plain text by XORing each character of the key against a corresponding byte in the message NOTE: 1. The length of plain text does not exceed 40 characters. 2. 'Enter' character () is not counted in string length 3. The length of key does not exceed 10 characters 4. If the length of key is less than plain text, repeat the key as many times as necessary until all plain text is translated. Ex. Plain text : Assembly Programming!", Key: 5v*qe 5. Print out the original text, encrypted text, and decrypted text once the user enters a text and a key. Input 'Enter' character () to finish the program. 6

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!