subject

Algorithm The encryption algorithm is as follows. 1. The low order bit of the code will be toggled. That is, if it is a 1, it will be replaced by a 0; if it is a 0, it will be replaced by a 1. 2. The key will be added to the result of step 1 above. For example, if the input (plain text) is A and the encryption key is 6, the program should take the ASCII value of A, 01000001, toggle bit [0:0], producing 01000000 and then add the encryption key, 6. The final output character would be 01000110, which is the ASCII value F. The decryption algorithm is the reverse. 1. Subtract the encryption key from the ASCII code. 2. Toggle the low order bit of the result of step 1. For example, if the input (cipher text) is F, and the encryption key is 6, we first subtract the encryption key (i. e., we add -6) from the ASCII value of F, 01000110 + 11111010, yielding 01000000. We then toggle bit [0:0], producing 01000001, which is the ASCII value for A. The result of the encryption/decryption algorithm should be stored in locations starting from x3117. Name your program Crypt. asm. You must use routines and they must be meaningful in this program to get full credit.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 15:30
When creating a budget, log fixed expenses before income. after income. after savings. at the top.
Answers: 1
question
Computers and Technology, 22.06.2019 20:00
What is the term for water wave that is created by an underwater earthquake
Answers: 1
question
Computers and Technology, 23.06.2019 16:30
If i wanted to include a built-in calendar in a document, what option could i select? draw table insert table insert chart quick tables
Answers: 1
question
Computers and Technology, 23.06.2019 21:00
Alcohol’s affects on the cornea and lens of the eye make it more difficult
Answers: 1
You know the right answer?
Algorithm The encryption algorithm is as follows. 1. The low order bit of the code will be toggled....
Questions
question
Mathematics, 23.03.2021 01:00
question
Mathematics, 23.03.2021 01:00
Questions on the website: 13722359