In: Computer Science
Given the following password generator:
● |Σ| = 94 (the printable characters on a US keyboard)
● |k| = 7
● Assume that the password generated is a random arrangement of k
characters from Σ
a) What is the entropy of a password generated by this system (show
your work)?
b) Assume an attacker has the hash and seed for a password
generated by this system. The attacker also has a computer that can
generate 1010 hashes per second. How long (in
seconds,
hours, days, or years) will it take the attacker to find the
password?
Generating a password with same characters is bit easy to crack, whereas generating a password containing alphabets, digits and symbols makes it difficult to crack it.
_________________________________________________________________________
a) Entropy of a password defines how much difficult it is to predict and crack the password.
Here's the formula to calculate the Entropy,
),
where |K| is the length of the password and
is the
number of printable characters in the US keyboard.
= 94
^|K| =
94^7
Entropy
(E) = 45.5_________________________________________________________________________
b) Hashing is a technique used to shorten the length of a data, it is similar to encryption but it is a one way encryption.
Calculation the time taken to crack the password:
_________________________________________________________________________
We were unable to transcribe this image
We were unable to transcribe this image
We were unable to transcribe this image
We were unable to transcribe this image
We were unable to transcribe this image
We were unable to transcribe this image
We were unable to transcribe this image
We were unable to transcribe this image
We were unable to transcribe this image
We were unable to transcribe this image