Generate an Encryption Key

To generate a secure and random encryption key, you can use the following command, that will generate a hexadecimal 32-character encryption key:

openssl rand -hex 16   

Last updated

Was this helpful?