verifyMessage

open fun verifyMessage(pubKey: PublicKey, message: String, signature: String): Boolean

Verify signature for a message.

Parameters

pubKey

: pubKey that will verify and recover the message from the signature

message

: the message signed (without prefix) in hex

signature

: in Hex-encoded form.