Skip to content

ecdsaPkDecompress

ecdsaPkDecompress(curve, pubKey): ECDSAPubKey

Parameters

curve: "Secp256k1" | "Secp256r1"

The curve being used

pubKey: StaticBytes<33>

The public key to decompress

Returns

ECDSAPubKey

The X and Y components of the decompressed public key

Source

types/global.d.ts:1208