Securityversion v1.1.0
Secret Generator
Two things a config file needs. A session secret is text: every character comes from a 64-symbol alphabet that survives shells, quoting and .env parsing intact. An AES key is not text but a fixed 16, 24 or 32 bytes of key material, shown in hex, base64 or base64url. Both come from the same CSPRNG in this tab.
Kind
Length64–128
Generated secret0 chars
From the command line
The same URL answers curl with the secret alone — one line, one newline, nothing to strip. Without ?length, the server picks a random length between 64 and 128.
curl -fsS https://tools.primeforge.app/secretcurl -fsS 'https://tools.primeforge.app/secret?length=128'