secp256r1EcdsaRecover
For the complete documentation index, see llms.txt
@midnight-ntwrk/compact-runtime v0.20.0
@midnight-ntwrk/compact-runtime / secp256r1EcdsaRecover
Function: secp256r1EcdsaRecover()
function secp256r1EcdsaRecover(
msgHash,
sig,
recoveryId): Secp256r1Point;
Recover the secp256r1 public key from an ECDSA signature and a message hash.
The recovery id means the same thing as it does for secp256k1EcdsaRecover.
Parameters
msgHash
Uint8Array
sig
r
bigint
s
bigint
recoveryId
number