Computers and Technology

Write a procedure that performs simple encryption by rotating each plaintext byte a varying number of positions in directions. For example, in the following array that represents the encryption key, a negative value indicates a rotation to the left and a positive values indicates a rotation to the right. The integer in each position indicates the magnitude of the rotation: key Byte -2, 4, 1 , 0, -3, 5, 2, -4, -4, 6 Your procedure should loop through a plaintext message and align the key to the first 10 bytes of the message. Rotate each plaintext byte by the amount indicated by its matching key array value. Then, align the key to the next 10 bytes of the message and repeat the process. Write a program that tests your encryption procedure by calling it twice, with different data sets. The procedure has 5 parameters: the plaintext string, the length of the plain text string, the key array, the length of the key array, and the encrypted string. The function returns the encrypted string. All the parameters are registers parameters Your function should employ the uses operator if possible. g masm

answer
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 11:30, KrishnaBalaram1235
To hide gridline when you display or print a worksheet
Answers: 1
image
Computers and Technology, 23.06.2019 11:20, 1tzM3
Http is the protocol that governs communications between web servers and web clients (i. e. browsers). part of the protocol includes a status code returned by the server to tell the browser the status of its most recent page request. some of the codes and their meanings are listed below: 200, ok (fulfilled)403, forbidden404, not found500, server errorgiven an int variable status, write a switch statement that prints out the appropriate label from the above list based on status.
Answers: 2
image
Computers and Technology, 23.06.2019 19:00, jaymc1932
Whose task it is to ensure that the product flows logically from one step to another?
Answers: 3
image
Computers and Technology, 24.06.2019 11:00, airbenderjermai
Need fast im timed in a paragraph of 125 words, explain at least three ways that engineers explore possible solutions in their projects.
Answers: 2
Do you know the correct answer?
Write a procedure that performs simple encryption by rotating each plaintext byte a varying number o...

Questions in other subjects:

Konu
Mathematics, 15.12.2020 05:10
Konu
Mathematics, 15.12.2020 05:10
Konu
English, 15.12.2020 05:10