1. Engineering
  2. Computer Science
  3. consider a password system that uses password hashing for password...

Question: consider a password system that uses password hashing for password...

Question details

Consider a password system that uses password hashing for password verification. Each password consists of a string of 4 digits. (a3a2a1a0 , that is each a ican be a digit {0 1,2 91 Soa0represents the rightmost digit, while azis the leftmost digit in the password. The hash function is defined as where mod 100 is the remainder of integer division by 100 1. How many different passwords are possible in this system? 2. Calculate h(7819) 3. Find a password x such that h(x)-h(7819) but X # 7819 4. How many different passwords will have hash value equal to h(7819)? You may find it useful to write a program to get a precise answer 5. Suppose an attacker wants to access Johns account using an online attack. What is the probability the attacker will guess Johns password if no hashing is involved, and when hashing is involved? Suppose the password system is used with a 2 digit salt(s, so) The salt will be simply added to the hash value (integer addition) and ( mod 100) operation will be used to make it into a 2 digit number. In othei words, the hash function is now For example, the hash for password 2745 given salt 39 is h(39,2745)- (39 + 2*4 + 7*3 +42+ 5) mod 100-19 Explain how adding salt affects the chance of success for an attacker who tries to guess the password Explain your answer using the password 7819

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution