@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