Skip to main content
Module

x/secp256k1/index.d.ts>sign

Fastest 4KB JS implementation of secp256k1 signatures and ECDH
Latest
function sign
import { sign } from "https://deno.land/x/secp256k1@2.1.0/index.d.ts";

Parameters

msgh: Hex
priv: PrivKey
optional
opts: { lowS?: boolean | undefined; extraEntropy?: boolean | Hex | undefined; }

Returns

SignatureWithRecovery