Question: ( 1 ) Complete the project # 8 , 'Message Encryption' on page 2 4 0 . Make use of procedures to separate out the

(1) Complete the project #8, 'Message Encryption' on page 240. Make use of procedures to separate out the functionality. Upload the asm file and output for a couple of runs. One run should be for input string less than key length and another for more.
Message Encryption
Revise the encryption program in Section 6.2.4 in the following manner: Create an encryption key consisting of multiple characters. Use this key to encrypt and decrypt the plaintext by XORing each character of the key against a corresponding byte in the message. Repeat the key as many times as necessary until all plain text bytes are translated. Suppose, for example, the key were equal to "ABXmv#7."
NOTE: Upload an image showing the output with your input, encrypted string & the decrypted string.
mov al,status
test al,00100000b ; test bit 5
jnz DeviceOffline

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!