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

If you allow multiple occurrences of the same word, you can get slightly higher entropy while making the passwords potentially even easier to remember.

    echo $(for i in 1 2 3 4; do shuf -n1 /usr/share/dict/words; done)
(Sorry, I'm not very good at bash, so this loop is probably not idiomatic.)


for i in `seq 1 4`; :)


If this is golf, you took two more strokes than he did.


Thanks. By the way, $(seq 4) is enough.




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

Search: