Last Updated: March 02, 2016
· crisu83

Generate a strong random string (Unix)

If you want to generate a strong random string for a password, secret or similar you can simply run the following command on the command line (assuming that you have openssl installed):

openssl rand -base64 32

Running the command outputs a string similar to this one (that at least I would consider strong enough):