verify

open override fun verify(message: ByteArray, signature: ByteArray): Boolean(source)

Verifies the authenticity of a signature using a given message and signature.

Return

A boolean value indicating whether the signature is valid or not.

Parameters

message

The message to verify.

signature

The signature data to verify.