here is how I create random passwords.
head -c 8 /dev/random > /tmp/xxx
openssl enc -base64 -in /tmp/xxx | head -c 8
is there a better way?
here is how I create random passwords.
head -c 8 /dev/random > /tmp/xxx
openssl enc -base64 -in /tmp/xxx | head -c 8
is there a better way?
How about: `uuidgen | md5sum | cut -c-12`
Now uuidgen I didn’t know about.
Interestingly although they both use /dev/random uuidgen seems to be heavier on the numbers while base64 encoding /dev/random is heavier on the letters.