Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace Secp256k1

Index

Functions

  • getPublicKey(privateKey: Uint8Array, compressed: boolean): Uint8Array
  • publicKeyConvert(publicKey: Uint8Array, compressed: boolean): Uint8Array
  • sign(message: Uint8Array, privateKey: Uint8Array, options?: { canonical: boolean; extraEntropy?: true }): Promise<Uint8Array>
  • Parameters

    • message: Uint8Array
    • privateKey: Uint8Array
    • Optional options: { canonical: boolean; extraEntropy?: true }
      • canonical: boolean
      • Optional extraEntropy?: true

    Returns Promise<Uint8Array>