Enter a 5 digit password and time how long it takes for your algorithm to crack it.
I'm not saying to go out and crack systems.
Make your own test bed.
Here's mine:
3 classes:
Store - store a password and get a password
Crack - create array list which stores passwords already used and randomly generates a password.
Main - test randomly generated password against stored password.
It had taken 2 seconds the first time, 2nd time I got bored of waiting. It's done by randomly generating numbers. Guess I'm just lucky. Probability is brought into the equation through randomly generating the password. So time is always going to be random.
Of course the password is numeric, not alphanumeric.
I'm not saying to go out and crack systems.
Make your own test bed.
Here's mine:
3 classes:
Store - store a password and get a password
Crack - create array list which stores passwords already used and randomly generates a password.
Main - test randomly generated password against stored password.
It had taken 2 seconds the first time, 2nd time I got bored of waiting. It's done by randomly generating numbers. Guess I'm just lucky. Probability is brought into the equation through randomly generating the password. So time is always going to be random.
Of course the password is numeric, not alphanumeric.