Skip to main content

verify_message

Function verify_message 

Source
pub fn verify_message(
    message: impl AsRef<[u8]>,
    signature: &RecoverableSignature,
    address: Address,
) -> bool
Expand description

Verify that signature over message was produced by address.

Returns false on any recovery error; use recover_message_address to inspect the error.