Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

1. Suppose a system uses passwords that may contain only alphabetic (upper and l

ID: 3721395 • Letter: 1

Question

1. Suppose a system uses passwords that may contain only alphabetic (upper and lower case) and numerics (0..9). Assume every password is five characters long.

(a) how many possible passwords are there? (this would be the maximum number of passwords you would need to try to crack an account)

(b) if you now allow passwords to be six characters long, how many possible passwords are there?

(c) how many times more passwords would there be if the system has eight character passwords instead of just five character passwords?

(d) if the computer takes 5 ms to check a password for validity, how long would it take on average to guess a password? what would the worst case time be? Show results for five, six and 10 character password lenghts.

(e) same scenario as above, but now you have a cluster with 100 processors in it and so can check 100 passwords simultaneously in 5 ms; how long does it take to guess all the passwords?

2. To safeguard the privacy of medical information, the Federal Health Insurance Portability and Accountability Act (HIPAA) requires certain measures to be take to ensure the privacy of patient information. Suppose an insurance company holds such information on its insureds: all the records are encrypted and held in a database running on a dedicated server. When someone (a company employee, or an insured via a web interface) asks to see a record, that information is retrieved from the database server, decrypted, and sent to the requester. Describe parts of this information flow that would be susceptible to leaking protected information.

Explanation / Answer

Solution:

Consider it like a boxer who can contain five items in five sub boxes.

Now we can put 26 uppercase letters, 26 lower case letters, and 10 digits.

a)

Total number of passwords that can be generated is

5^62

since 26+26+10= 62

b)

then it will be 6^62

c)

8^62/5^62

d)

for 5 it will take

1 password is taking 5ms

in 1 second 1/(5*10^-3) = 200 passwords will be checked

so

5^62/200 second

for 6 will take

6^62/200 second

for 10 digits it will take

10^62/200 second

e)

for 5 it will take

100 password is taking 5 ms

in 1 second 100/(5*10^-3) = 20000 passwords will be checked

so

5^62/20000 second

for 6 will take

6^62/20000 second

for 10 digits it will take

10^62/20000 second

I hope this helps if you find any problem. Please comment below. Don't forget to give a thumbs up if you liked it. :)