Skip to content

@stellar-passkey/core API


@stellar-passkey/core API / randomChallenge32

Function: randomChallenge32()

randomChallenge32(): Uint8Array

Defined in: packages/core/src/webauthn/createOptions.ts:90

Generate a cryptographically-random 32-byte challenge via Web Crypto.

Returns

Uint8Array

MIT — SCF-43 RFP submission (2026). Status: pre-1.0.