Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Using python : 4. The Password Hacking Problem Your computer system uses a 4-letter password for login. For our purposes the password is restricted to
Using python :
4. The Password Hacking Problem Your computer system uses a 4-letter password for login. For our purposes the password is restricted to lower case letters of the alphabet. It is easy to calculate that the total number of passwords which can be produced is n-26 o A hacker creates a list of m-10' random 4-letter words, as candidates for matching the password. Note that it is possible that some of the m 10 words could be duplicates. o You are given your own 4-letter password and you need to check if the hacker's list contains at least one word that matches you password. This is considered one experiment. If a word in the list matches your password, the experiment is considered a success. Repeat the experiment for N 1000 times and calculate the probability that at least one of the words in the hacker's list will match your password. If the hacker creates a list of m-10 random 4-letter words, repeat the previous experiment for N 1000 times and find the probability that at least one of the words in the hacker's list will match the password. Repeat the previous experiment for N -1000 times to find the approximate number (m) of the words that must be contained in the hacker's list so that the probability of at least one word matching your password is p-0.5 SUBMIT the calculated answers and the MATLAB code in a Word file. Use the box below to type in your answers. 6 o o o Prob, that at least one of the words matches the password p = p - Prob. that at least one of the words matches the password = 0.5 Approximate number of words in the list m 4. The Password Hacking Problem Your computer system uses a 4-letter password for login. For our purposes the password is restricted to lower case letters of the alphabet. It is easy to calculate that the total number of passwords which can be produced is n-26 o A hacker creates a list of m-10' random 4-letter words, as candidates for matching the password. Note that it is possible that some of the m 10 words could be duplicates. o You are given your own 4-letter password and you need to check if the hacker's list contains at least one word that matches you password. This is considered one experiment. If a word in the list matches your password, the experiment is considered a success. Repeat the experiment for N 1000 times and calculate the probability that at least one of the words in the hacker's list will match your password. If the hacker creates a list of m-10 random 4-letter words, repeat the previous experiment for N 1000 times and find the probability that at least one of the words in the hacker's list will match the password. Repeat the previous experiment for N -1000 times to find the approximate number (m) of the words that must be contained in the hacker's list so that the probability of at least one word matching your password is p-0.5 SUBMIT the calculated answers and the MATLAB code in a Word file. Use the box below to type in your answers. 6 o o o Prob, that at least one of the words matches the password p = p - Prob. that at least one of the words matches the password = 0.5 Approximate number of words in the list mStep 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