.env · security
OpenSSL Rand 生成器 — 在线使用 openssl rand -base64 32
在浏览器中复制 openssl rand -base64 32 和 openssl rand -hex 的功能。选择字节数和编码方式。
Be the first to rate
Encoding
Bytes
Equivalent CLI command
openssl rand -base64 32Output
Common use cases
openssl rand -base64 32— AUTH_SECRET, NEXTAUTH_SECRETopenssl rand -hex 32— API tokens, webhook secretsopenssl rand -base64 16— CSRF tokens, short-lived codesopenssl rand -hex 16— RAILS_MASTER_KEYFull tool page:/openssl-rand-generator