News for hackers. Stuff that matters.
Re:Xkcd Password Generator by zobzu on Thursday August 11, 2011 @10:25AM (#2872967)
171K words in the english language 4 words no spaces 171k^4 vs 255^8 for a 8 char pass
Re:Xkcd Password Generator by ddlatham on Thursday August 11, 2011 @10:46AM (#2873089)
First, that's still beside the point. You shouldn't evaluate a password scheme solely by entropy if it is a password you intend to memorize. XKCD argues that it's easier to remember 4 random words than 8 random characters.

Second, your example isn't very good because it assumes that every 8 byte character (save one) is acceptable, which is rarely the case, especially if you are trying to memorize them.

Finally, as another commenter pointed out, you've got your math wrong, and even your example has more entropy for the words than the characters.

Re:Xkcd Password Generator by drcode on Thursday August 11, 2011 @10:29AM (#2872994)
Incorrect: It's 171k^4 and 255^8.

(which works out to 8.55E20 and 1.78E19)

Re:Xkcd Password Generator by pak on Thursday August 11, 2011 @10:39AM (#2873052)
Yep, and that's assuming 8 random bytes from extended ASCII. The other point of the article was that nobody actually makes a password from random characters because words are easier to remember. And I think it's disingenuous to suppose people will enter alt-codes and that nonprintable characters would be allowed, so assuming MENSA-quality users with internal random number generators, we get 95^8 ~= 6.6E15, a clear loss of entropy.
Re:Xkcd Password Generator by kijinbear on Thursday August 11, 2011 @10:38AM (#2873049)
Actually, since you normally can't use anything but characters in the 0x20-0x7E range, the 8 char password has much less entropy: 95^8 ~= 6.63E15.

I love the backtick in my passwords. If a website accepts it and doesn't give me any issues, it's a decent indicator of basic security.

Re:Xkcd Password Generator by pbhjpbhj on Thursday August 11, 2011 @10:59AM (#2873141)
>the 8 char password has much less entropy: 95^8 ~= 6.63E15 //

Most of the word usage is going to be limited though too. testyourvocab.com put the average at 27k I think. We're looking for words one can remember easily so the word pool is going to be a lot lower - 15000^4 ~= 5E16 FWIW.

Re:Xkcd Password Generator by drcode on Thursday August 11, 2011 @10:45AM (#2873084)
Right- I was just correcting the dude's math :-)
Re:Xkcd Password Generator by zobzu on Thursday August 11, 2011 @11:59AM (#2873410)
hey it was an honest typo
Re:Xkcd Password Generator by zobzu on Thursday August 11, 2011 @11:56AM (#2873391)
yeah thats correct
Re:Xkcd Password Generator by bnegreve on Thursday August 11, 2011 @10:33AM (#2873018)
No, the single word password is based on a dictionary word with some chars replaced by other visually similar chars. That's much less than 8^255.
Re:Xkcd Password Generator by zobzu on Thursday August 11, 2011 @12:01PM (#2873420)
real complex passwords are more like '"^vmds!w*é$sé550µW"'-à the point of the post was to show the maximum theorical possibilities for both. As many pointed out not all 255 are usually printable and not all 171K words are used then that's for english only and not counting old english and not taking care of possible punctuation
Re:Xkcd Password Generator by hvs on Thursday August 11, 2011 @10:37AM (#2873043)
It's actually closer to 92^8 (printable ASCII) or even 62^8 (if they only allow letters and numbers).