Skip to content

@stellar-passkey/core API


@stellar-passkey/core API / normalizeLowS

Function: normalizeLowS()

normalizeLowS(rs): Uint8Array

Defined in: packages/core/src/sig/lowS.ts:41

Normalize the s scalar of a raw 64-byte (r ‖ s) P-256 signature to the lower half of the curve order. Returns a new Uint8Array — the input is not mutated.

Throws KitError (SIGNATURE_INVALID) on wrong input length.

Parameters

rs

Uint8Array

Returns

Uint8Array

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