Skip to content
Tools

Random Secret Generator

Generate a cryptographically secure token and a separate OpenSSL command.

Processed locally in your browser. Nothing you enter is uploaded.

Bytes, encoded length, and entropy are different. 32 bytes is 256 bits before encoding.

Output

Choose a size and generate a token. It is created with crypto.getRandomValues() and is not saved.

OpenSSL command

This builds a command you can run on your own machine. It does not reproduce the token generated above.

Command

openssl rand -base64 32

Related tools