-4 karma · joined Nov 12, 2017 (9y ago) · 2 submissions
comment 9y ago · link · parent
Example: aaaaaaaaaaaaB1! is a perfectly safe password.
Domain of characters: letters(26x2=52) + digits(10) + punctuation(32) = 52+10+32 = 94. Password length: 15. So, size of the password domain: 94¹⁵
The example password is not less safe than any other password in the same domain, but it is certainly much easier to remember.
Why would the attacker assume that the pattern /[a-z]+[A-Z][0-9][:punct:]/ would be any more likely that any other pattern? Therefore, the attacker cannot assume a pattern for non-dictionary passwords. He will only be able to enumerate them using brute force, which is utterly unrealistic for a set with a cardinality of 94¹⁵.