Question

In: Statistics and Probability

Suppose an automatic password cracking program takes an average of 10 minutes to crack one password...

Suppose an automatic password cracking program takes an average of 10 minutes to crack one password that has 10,000 possible combinations. (This means it would take 20 minutes if there were 20,000 possible passwords and 30 minutes if there were 30,000 possible passwords).

a) 3 pts What is the maximum length of time the program would need to be able to crack a password of 8-character length made of only one number and seven lower-case letters?

b) 6 pts What is the maximum amount of time the program would need to be able to crack a password of 12-character length that includes at least one capital, at least one number, and at least one special symbol chosen from @,#, $ ?

Solutions

Expert Solution

a) The password has 8 characters. A character can have one number and 7 lower-case letters. The number of ways of choosing one number from a combination of 10 digits between 0-9 is 10. The number of ways of choosing a letter from 26 small letters is 26. Now, a password has one number and 7 lower-case letters. Hence, the total combinations become:

Now, the position of a number can be anywhere, and thus, the total combinations need to be multiplied by 8 for 8 positions. Hence, the total combinations of passwords are:

Now, to crack a password with 10,000 combinations, it takes 10 minutes. Hence, the time taken to crack a password from these combinations become:

Hence, to crack this code, it would take more than 1200 years.

b) The password is made of 12 characters. It has at least one capital letter, at least one number and at least one special character chosen from @, #, $.

The number of ways of choosing one capital letter is 26. The number of ways of choosing one number from 0-9 is 10. The number of ways of choosing one special character from @, #, $ is 3. The remaining characters are 12 - 3 = 9. These 9 characters can be either digits, small letters, capital letters or special characters @, #, $. Hence, each character can be any one of 10 + 26 + 26 + 3 = 65.

Also, the position of these characters can be irrespective of each other and there are a total of 12 positions. Thus, we get a total combination of:

Now, 10000 combinations can be cracked in 10 mins. Hence, the time required to crack these many combinations is:


Related Solutions

Privacy program, lab2pr2.py Write an automated password-hiding program that could be used in automatic password manager....
Privacy program, lab2pr2.py Write an automated password-hiding program that could be used in automatic password manager. The program will first read user passwords, one at a time, and store them in a list. When the user enters an empty string (just hits enter), they are finished with the input. The program should then replace each password with a string of * corresponding to the length of the original password. As the output, the program should print the original list and...
It takes a lawyer 140 minutes to serve one customer. Demand is 2customers per 10...
It takes a lawyer 140 minutes to serve one customer. Demand is 2 customers per 10 hour day. The lawyer has a wage rate of $250 per hour from a law firm. What is the cost of direct labor for the lawyer expressed in $ per customer? Round to two decimals.
Assume it takes Leonardo 10 minutes to make a donut and 30 minutes to make a...
Assume it takes Leonardo 10 minutes to make a donut and 30 minutes to make a carrot cake, and it takes Emilia 12 minutes to make a donut and 24 minutes to make a carrot cake. What is the opportunity cost to Leonardo of making a donut? a. 6 carrot cakes b. 3 carrot cakes c. 1/3 of a carrot cake d. 10 carrot cakes True or False. If someone has an absolute advantage at milking goats, they will necessarily...
ABCD currently has one outside drive-up teller. It takes the teller an average of four minutes...
ABCD currently has one outside drive-up teller. It takes the teller an average of four minutes (exponentially distributed) to serve a bank customer. Customers arrive at the drive-up window at the rate of 12 per hour (poisson distributed). The bank operations officer is currently analyzing the possibility of adding a second drive-up window at an annual cost of $20,000. It is assumed that arriving cars would be equally divided between both windows. The operations officer estimates that each minute’s reduction...
Suppose that it takes an average Australian miner 10 hours to mine a ton of coal...
Suppose that it takes an average Australian miner 10 hours to mine a ton of coal and 20 hours to mine a ton of manganese. It takes the average South African miner 4 hours to mine a ton of coal and 12 hours to mine a ton of manganese. a) For each miner, calculate the opportunity cost of mining a ton of coal and a ton of manganese. b) In what task does each miner have a comparative advantage? Briefly...
The average time it takes to complete a particular sociology test is 86.5 minutes. In a...
The average time it takes to complete a particular sociology test is 86.5 minutes. In a recent study of 26 individuals that took it a particular test the average amount of time to complete the sociology test was 83.4 minutes. The sample standard deviation was 8.7 minutes. At the 0.10 level of significance can it be concluded that the average amount of time it takes to complete the particular sociology test is less than 86.5 minutes.
Research by Steelcase found the average worker get interrupted every 11 minutes and takes 23 minutes...
Research by Steelcase found the average worker get interrupted every 11 minutes and takes 23 minutes to get back on task. From a random sample of 200 workers, 168 said they are interrupted every 11 minutes by email, texts, alerts, etc. Find the 90% confidence interval of the population proportion of workers who are interrupted every 11 minutes.
    It takes a barber 15 minutes to serve one customer.   a. What is...
    It takes a barber 15 minutes to serve one customer.   a. What is the capacity of the barber expressed in customers per hour?   customers per hour         b. Assuming the demand for the barber is 2 customers per hour, what is the flow rate?   customers per hour         c. Assuming the demand for the barber is 2 customers per hour, what is the utilization?   percent      ...
A car manufacturer has determined it takes an average time of 54 minutes to produce a...
A car manufacturer has determined it takes an average time of 54 minutes to produce a car. The population standard deviation is assumed to be 4 minutes. The company pays a bonus to the workers for every car produced in 46 minutes or less. Assuming that the production time is normally distributed, answer the following questions. Let X = production time of a randomly selected car. Round all probabilities to four decimal places and times to two decimal places. a)...
A car manufacturer has determined it takes an average time of 54 minutes to produce a...
A car manufacturer has determined it takes an average time of 54 minutes to produce a car. The population standard deviation is assumed to be 4 minutes. The company pays a bonus to the workers for every car produced in 46 minutes or less. Assuming that the production time is normally distributed, answer the following questions. Let X = production time of a randomly selected car. (Round all probabilities to four decimals and times to two decimals) a) What is...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT