openssl rand -base64 24
openssl rand -base64 16 | colrm 17
Note that you are limited to a particular set of 64 characters (A–Z, a–z, 0–9, + and /) due to base64 encoding on the output.
colrm
mkpasswd
crypt
openssl rand
Advertising: