in reply to Re^2: Please Review First Program: Random Password Generator
in thread Please Review First Program: Random Password Generator
This will decrease the number of possible password combinations,
Yes.
and actually make password weaker
No.
In general, the second does not necessarily follow from the first. Blacklisting password "password" decreases the number of possible combinations, for example.
In this particular case, it also makes the password stronger since the hashes of all alphabetic passwords of length 14 or less are known. (I don't remember for which hashing algorithm.)
What password is stronger? The one which includes 8 characters from the [A-Z0-9] set, or one which includes 6 characters from the [A-Z] and 2 from [0-9]?
The one that includes 1 from [A-Z], 1 from [0-9] and 6 from [A-Z0-9].
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Please Review First Program: Random Password Generator
by BrowserUk (Patriarch) on Feb 05, 2011 at 08:52 UTC | |
|
Re^4: Please Review First Program: Random Password Generator
by zwon (Abbot) on Feb 05, 2011 at 10:25 UTC | |
|
Re^4: Please Review First Program: Random Password Generator
by zwon (Abbot) on Feb 06, 2011 at 16:45 UTC |