Math Problem - Probability of Password Duplication
- Posted by brian_keene at yahoo.com Oct 22, 2001
- 362 views
Hi All: Can someone who knows math & probability theory better than me (this isn't hard to do :)!) tell me how to figure out how many possible passwords I can generate by having the following parameters? Password Length = 11 to 14 characters Possible Password Content = each character can be any 1 of 89 different characters. Character Set = a-zA-Z1-9{}[]()^_`~:;<=>? at !#$%&'+,-./ Excluded Characters = 0|\" My understanding is that it would be: char14 = 89*89*89*89*89*89*89*89*89*89*89*89*89*89 -- (1.95641099e+027) char11 = 89*89*89*89*89*89*89*89*89*89*89 -- (2.77517307e+021) result = char14 - char11 Also, could anyone give me a small function that would generate a random password using this character set? Thanks In Advance Regards Brian Keene ===== Regards Brian Keene