Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "crypto/crypto"

Index

Variables

Const secp256k1

secp256k1: ec = new elliptic.ec("secp256k1")

Functions

Const makeSigner

  • makeSigner(addToV: number): (Anonymous function)

privateKeyToAccount

  • privateKeyToAccount(privateKey: string): object
  • Parameters

    • privateKey: string

    Returns object

    • address: string
    • privateKey: string
    • publicKey: string

publicKeyToAddress

  • publicKeyToAddress(publicKey: string): string

Const recover

  • recover(hash: Buffer, signature: Buffer): string

Generated using TypeDoc