(Solved) : Write Program Assembly Language Performing Following Tasks Take Input String Keyboard Encr Q42776048 . . .

Write a program in assembly language performing followingtasks:

  1. Take an input string from the keyboard
  2. Encrypt the input string following an encryption algorithm (seebelow)
  3. Write a decryption procedure to decrypt the message.

The encryption algorithm:

First you need to pre-select an integer, say k, and keep it as asecret

Encryption:

For a plain character in the input message, including space,perform the following byte operations:

  • add k to it
  • rotate left for k times
  • and then store the result in memory.

Decryption: Reverse the operations inencryption

  • Rotate right for k times
  • Minus k from it

We must create a simple encryption and decryption program in theassembly language nasm.

Expert Answer


Answer to Write a program in assembly language performing following tasks: Take an input string from the keyboard Encrypt the inpu…

Leave a Comment

About

We are the best freelance writing portal. Looking for online writing, editing or proofreading jobs? We have plenty of writing assignments to handle.

Quick Links

Browse Solutions

Place Order

About Us

× How can I help you?