Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Consider a password system that uses password hashing for password verification. Each password consists of a string of 4 digits: , ), that is each
Consider a password system that uses password hashing for password verification. Each password consists of a string of 4 digits: , ), that is each a can be a digit {0,1,2, 9) Soa represents the rightmost digit, while a3is the leftmost digit in the password. The hash function is defined as: h(a,a,a, a0)-(a4+a,+a2+a) mod 100 where "mod 100" is the remainder of integer division by 100. 1. Suppose an attacker wants to access John's account using an online attack. What is the probability the attacker will guess John's password if no hashing is involved, and when hashing is involved? 2 Suppose the password system is used with a 2 digit salts, 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 other words, the hash function is now: 432 For example, the hash for password 2745 given salt 39 is: h(39,2745)-(39 24+73 +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
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started