SEARCH HOME
Math CentralQuandaries & Queries

search

to

Question from oliver, a student:

suppose a password consisted of a string of nine characters from the english alphabet(26 characters). if each possible password could be tested in a microsecond, how long would it take to test all possible passwords?

Hi Oliver,

First you need to determine how many 9 character passwords there are. If you start to write down all possible passwords you have 26 choices for the first character. Regardless of what character you chose you have 26 choices for the second character and hence 26 times 26 = 262 choices for the first two characters. Again, regardless of the choices for the first two characters you have 26 choices for the third character and thus 263 choices for the first three characters. This procedure will give you the total number of possible passwords.

There are 1 000 000 = 106 microseconds in a second so divide the total number of passwords by 106 to determine the number of seconds it will take to test the passwords. You will then probably convert this to days, minutes and seconds.

How long will it take if a password consisted of a string of nine characters from the english alphabet or the ten digits 0 to 9 (36 characters)?

Penny

About Math Central
 

 


Math Central is supported by the University of Regina and The Pacific Institute for the Mathematical Sciences.
Quandaries & Queries page Home page University of Regina PIMS