charmotoCharles D Aylward
Seen lots of reposts of xkcd on passwords today. It's fun but wrong. 4 words of everday English is weak, use 5. The base is words not bits.
jcbarretJeffrey Barrett
@charmoto @leonidkruglyak I think xkcd is right...he's assuming 11 bits per word (only 2048 choices needed) and 4 words, which is 2^44, no?
charmotoCharles D Aylward
.@jcbarret @leonidkruglyak password crackers don't use brute-force bit permutation. Even w/ naive iteration, the base is keyboard characters
jcbarretJeffrey Barrett
.@charmoto Hmm...but then if the avg word length is 5, isn't that 26^20? (i.e. > num_common_words^4) Maybe I'm not getting your point.
jcbarretJeffrey Barrett
.@charmoto OK, cool, but then if you have xkcd's implied 2048 common words (which seems easy) than 2048^4 (2e13) seems pretty secure, no?
charmotoCharles D Aylward
.@jcbarret you can't assume such a naive adversary, this is a _well worn_ problem space. The probability distribution is not uniform.
jcbarretJeffrey Barrett
.@charmoto Even if I pull 4 words randomly from dict? What does adversary have to do with it? Maybe not poss to resolve in 140 char chunks?