Assembly and hash function Assignment

Assembly and hash function
Assembly and hash function

Assembly and hash function

Assembly and hash function

Write a program in 32-bit x86 Assembly language that asks the user to enter a password to login. The password is accepted into a string and it is processed through a hashing function and then encrypted as below. After encryption, it is compared with the stored correct password in the program. The stored password is already hashed and encrypted as per the scheme below therefore if the user has not entered the correct password, it will not match and your program will give a warning. After three warnings, the program terminates denying the login otherwise it displays welcome message to the user.

Hash function: add ASCII codes of all the characters of the password string and then apply modulo 313 to the sum. The remainder is the hash code.

Encryption Scheme: Rotate right the hash code by 2 bits then perform XOR with the key. Key is selected as 217.

Source code from .asm file should be copied here.

We can write this or a similar paper for you! Simply fill the order form!


Unlike most other websites we deliver what we promise;

  • Our Support Staff are online 24/7
  • Our Writers are available 24/7
  • Most Urgent order is delivered with 6 Hrs
  • 100% Original Assignment Plagiarism report can be sent to you upon request.

GET 15 % DISCOUNT TODAY use the discount code PAPER15 at the order form.

Type of paper Academic level Subject area
Number of pages Paper urgency Cost per page: