crypto / org.apache.tuweni.crypto.sodium / Signature / PublicKey / verify

verify

fun verify(message: Bytes, signature: Bytes): Boolean (source)
fun verify(message: Allocated, signature: Allocated): Boolean (source)

Verifies the signature of a message.

Parameters

message - the message itself

signature - the signature of the message

Return
true if the signature matches the message according to this public key