Openssl : Generate Random Passwords

Make a  6 random bits of base64-encoded data.

The result will be an eight character string  (crypt based) password:


$ openssl rand -base64 6
RqwsGq8h
$

This is how to generate a 16 character password


$ openssl rand -base64 12
IFgOfL/LJixAf/ad
$


You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

AddThis Social Bookmark Button

Leave a Reply

*
To prove that you're not a bot, enter this code
Anti-Spam Image