Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
js2
on Dec 14, 2010
|
parent
|
context
|
favorite
| on:
The Dirty Truth About Web Passwords
openssl rand -hex 6
will give you 6 random bytes hex-encoded. Your specific command line can be done with:
openssl rand -base64 9 | cut -c-12
Note, I think you wanted -c-12, not -c12.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: