pamoja for TypeScript - v0.1.17
    Preparing search index...

    Function verify

    • Verifies that a signature covers a payload and was made by a public key.

      Returns false when the payload was altered or was signed by a different device, and throws only when an argument is the wrong length.

      Parameters

      • publicKey: Buffer
      • payload: Buffer
      • signature: Buffer

      Returns boolean