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

/dev/random is random bytes, so in order to make it typable, it's useful to convert it into characters. md5 is good for that.

Alternatively, strings /dev/random|head gives some stuff that you can concatenate into a password.



For a single process bit of typeable entropy from our OpenBSD friends, try:

openssl -rand base64 12

On your favorite Unix.


You mean "openssl rand -base64 12".




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

Search: