Function verify

  • Verify that signature was signed by public key

    Returns

    Valid?

    Parameters

    • data: Uint8Array

      Data to verify

    • signature: Uint8Array

      Signature to verify

    • publicKey: string | Uint8Array

      Key to verify against

    Returns boolean

Generated using TypeDoc