A random password generator is a computer program, hardware device, or online tool used to generate passwords using a set of parameters like length, letters, numbers, symbols, and strength (Nicholas, 2016).

## A random password generator is a computer program, hardware device

Option #1: Random Password

For this Critical Thinking assignment, you will apply counting techniques to real-world scenarios.

A random password generator is a computer program, hardware device, or online tool use d to generate passwords using a set of parameters like length, letters, numbers, symbols, and strength (Nicholas, 2016).

Suppose that you want to create a password of four characters in length that can only include lower case letters and numbers from 0 to 9.

### Part I: Answer the following questions:

Firstly, Assuming repetitions are allow ed, how many passwords are possible?

Secondly, Assuming repetitions are not allow ed, how many passwords are possible?

Thirdly, Assuming repetitions are not allow ed and there must be exactly two numbers, how many passwords are possible?

Fourthly, Assuming repetitions are not allow ed and there must be exactly two numbers, located at the end of the password, how many passwords are possible?

Further, Assuming repetitions are not allow ed, there must be exactly two numbers, located at the end of the password, and that the letters can only be vowels, how many passwords are possible?

#### Part II: Based on your work in Part I, discuss the following:

Firstly, Explain your thought process to answer questions one through five in Part I. Identify which counting technique you used to answer each question.

Secondly, Could you have used any other counting technique to answer question one, Part I? Justify your answer.

Thirdly, Could you have used any other counting technique to answer question two, Part I? Justify your answer.

Fourthly, Compare your answers to questions one and two in Part I. Elaborate on what happens when repetitions are allowed versus not allowed.

Further, Compare your answers to questions three and four in Part I. Elaborate on what happens when you restrict the location of the two numbers.

Explain how you can use a tree diagram to answer question five, Part I. Do not actually include the tree diagram.

Compare your answers to questions one through five in Part I. Reflect about the security of passwords as more restrictions are added.

Think of another scenario where you can apply counting techniques. Discuss the advantages of knowing how to use counting techniques in the context of the scenario you created.

Reference

Nicholas, M. (2016). Dashlane blog [web log comment]. Retrieved from https://blog.dashlane.com/howrandom-password-generators-work/ (Links to an external site.)