.env · security

OpenSSL Rand Generator — openssl rand -base64 32 online

Repliziere openssl rand -base64 32 und openssl rand -hex im Browser. Byte-Anzahl und Kodierung wählen. Kein OpenSSL erforderlich.

Be the first to rate
Encoding
Bytes
Equivalent CLI command
openssl rand -base64 32
Output
Common use cases
openssl rand -base64 32— AUTH_SECRET, NEXTAUTH_SECRET
openssl rand -hex 32— API tokens, webhook secrets
openssl rand -base64 16— CSRF tokens, short-lived codes
openssl rand -hex 16— RAILS_MASTER_KEY