Function verifyDigest32

Verifies a digest signed with a private key using the corresponding public key.

  • Parameters

    • digest: Uint8Array

      A byte array representing the digest we wish to verify.

    • signature: Uint8Array

      A byte array representing the digital signature.

    • pubKey: Uint8Array

      A byte array representing the public key of the signer.

    Returns boolean

    True if the digest is verified to have been signed using the private key complementing the given public key.