Graphorin API reference v0.1.0
Graphorin API reference / @graphorin/security / / generateBootstrapToken
Function: generateBootstrapToken()
ts
function generateBootstrapToken(): string;Defined in: packages/security/src/hardening/crypto.ts:38
Generate a 256-bit bootstrap token encoded with base62url. Always emits BOOTSTRAP_TOKEN_LENGTH (43) characters. Source entropy is crypto.randomBytes(32) per DEC-135 — never crypto.randomUUID() (only 122 bits).
Returns
string