Question: Write an assembly language program that does the following: Create an encryption key consisting of multiple characters. Use this key to encrypt and decrypt

Write an assembly language program that does the following: Create an encryption key consisting of multiple 

Write an assembly language program that does the following: Create an encryption key consisting of multiple characters. Use this key to encrypt and decrypt the plaintext by XOR-ing 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 was equal to "ABXmv#7". This is how the key would align with the plain text bytes "Assembly is fun": Assembly n #7 A B Xmv #7 A ABXmv A template for encryption program is also uploaded on Moodle. Your code may be built on the given encryption code. You must take two inputs from user, the plaintext and the key string. Call your encryption/translation procedure twice so that you can show to user both ciphertext and the decrypted text.

Step by Step Solution

3.38 Rating (154 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Note that actual assembly code may vary depending on the specific assembly language youre using eg x... View full answer

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