Skip to content

Graphorin API reference v0.1.0


Graphorin API reference / @graphorin/security / / BOOTSTRAP_TOKEN_LENGTH

Variable: BOOTSTRAP_TOKEN_LENGTH

ts
const BOOTSTRAP_TOKEN_LENGTH: 43 = 43;

Defined in: packages/security/src/hardening/crypto.ts:28

Canonical base62-url encoded width for the 32-byte (256-bit) bootstrap token. ceil(256 / log2(62)) = 43; the encoder pads to this width so every emitted token is the same length, regardless of how many leading bytes happen to be small. Stable downstream verifiers can reject tokens whose width drifts.

Stable