Functions

mintArtifactRef

Function: mintArtifactRef()

mintArtifactRef(): string

Defined in: src/artifacts/naming.ts:38

Mint a fresh, opaque, never-content-derived ref.

Rejection sampling keeps the distribution uniform (256 % 62 ≠ 0, so a bare modulo would bias the low end of the alphabet — cosmetically fine, cryptographically sloppy, and cheap to do right).

Returns

string

On this page