Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/polkadot/util-crypto/secp256k1/index.ts>secp256k1Recover

Package publishing for deno.land/x/polkadot
Go to Latest
function secp256k1Recover
import { secp256k1Recover } from "https://deno.land/x/polkadot@0.2.14/util-crypto/secp256k1/index.ts";

Parameters

msgHash: HexString | Uint8Array | string
signature: HexString | Uint8Array | string
recovery: number
optional
hashType: HashType = [UNSUPPORTED]
optional
onlyJs: boolean

Returns

Uint8Array