uestion 2 asked you to compute the number of possible passwords with various numbers of characters. However, it seems more likely that most people will choose actual words for their password. According to the website wordfinder.yourdictionary.com, the English language has approximately 23,000 six-letter words.
4) Question 2 asked you to compute the number of possible passwords with various numbers of characters. However, it seems more likely that most people will choose actual words for their password. According to the website wordfinder.yourdictionary.com, the English language has approximately 23,000 six-letter words.
- a) Assume that a password must be at least 8 characters long and include at least 1 digit and at least 1 special character (again, assume there are 30 of these that are allowed). If people form their password by taking an English word of exactly 6 letters (assume that this password is not case-sensitive) and then adding (in either order) a digit and a special character (e.g flames#1), how many passwords would be possible?
(Hint: Find the number of passwords with 6 letters followed by a digit and a special character, then exchange the order of the last two characters.)
- b) How does your answer change if we assume passwords are case-sensitive and the password must include at least one capital letter and one small letter (e.g. flames#1 would no longer be valid, but Flames#1 and FlAmEs#1 would both be valid and would be two distinct passwords)?
(Hint: enumerate the allowable versions of a simple 3-letter word like “dog” and then ramp that up to the 6-letter case).
***Quetion 2) Allowing (or requiring) users to use numerical digits (including 0) and any of 30 “special characters” (there are actually more than 30, but assume for the sake of the project that there are only 30 that are allowed) dramatically increases the number of possible passwords. Furthermore, passwords often are case-sensitive, effectively doubling the size of the alphabet by defining 52 distinct letter characters.
Assuming that passwords ARE case-sensitive and can include numerical digits and special characters, as well as letters, how many possible 5, 7 and 9 character passwords can be created?***
Step by step
Solved in 3 steps