verify

suspend fun verify(data: ByteArray, signature: ByteArray): Boolean

Verify the provided data and signature match this keypair's public key.

Return

True if they match, false otherwise

Parameters

data

The data that was signed

signature

The signature (64 bytes)