Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Every password require that the user choose randomly. Words, letters, numbers, pixels on a screen... All require randomness in choosing.

This is why some websites assign passwords to users and do not allow users to pick their own custom passwords. The only safe passwords are those generated by machines.

This does not mean that picking words to form a pass-phrase is less secure than picking letters to form a password.



I don't see what's wrong with my argument that choosing a pass phrase will have less entropy...

Does less entropy not mean less secure? Or am I just reasoning about the entropy all wrong?


Less entropy means less secure. However the method in the comic is not pick a passphrase. It is pick 4 random words(hopefully with the help of a computer with a good source of randomness, so they are really random). This is because phrases have semantic meaning and reduced entropy. Also people tend to pick phrases that are common enough to be found on the internet somewhere like movie quotes, book quotes and thus are likely to be in an attackers dictionary. So four random words not a phrase has better entropy than a passphrase, and is less likely to appear in a dictionary attack than a phrase.


Right - this is the crucial point. The method suggested in the XKCD comic isn't to pick four words yourself out of your head - it's to randomly select four words from a dictionary.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: