Question: For a particular website, suppose users could only choose positive, whole numbers as passwords, and the site neglected use salting to make the numbers harder
For a particular website, suppose users could only choose positive, whole numbers as passwords, and the site neglected use salting to make the numbers harder to guess.
Here is an example stolen value.
hashednumber cfebdddaefaafafbaedcaeaccf
Carry out a dictionary attach by implementing the following:
Write a function that takes a number as an input, and returns True if that number: after being converted to a string hashes to the hashednumber value.
Use this function to find out if value in to was the password. Hint: use the rangea b function which give ls back a sequence of values from a to b
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
