Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • PrivateKey

Index

Constructors

constructor

Methods

sign

  • sign(data: Buffer): Buffer
  • Parameters

    • data: Buffer

    Returns Buffer

toBytes

  • toBytes(): Buffer
  • Returns Buffer

toPublicKey

verify

  • verify(signature: Buffer, message: Buffer): any
  • Parameters

    • signature: Buffer
    • message: Buffer

    Returns any