Generate a secret key
Generate a random secret key for JWT, sessions or APIs: 16 to 64 bytes, in hexadecimal, Base64 or Base64URL.
Generate a random secret key for JWT, sessions or APIs: 16 to 64 bytes, in hexadecimal, Base64 or Base64URL.
Very strong · 256 bits of entropy
Runs entirely in your browser: nothing you type is sent or stored.
APP_KEY is 32 bytes in Base64, after base64:.+, / or =, safe in URLs, file names and environment variables.openssl rand -hex 32 does on the command line, and they are never sent. A production secret is still best created where it is used, on the server or in a secrets manager, rather than copied around.