Skip to content

verify_message (Func)

Verify a message signature.

PARAMETER DESCRIPTION
message

The original message.

TYPE: str

signature

The signature hex string.

TYPE: str

public_key

The public key to verify against.

TYPE: PublicKey

RETURNS DESCRIPTION
bool

True if the signature is valid, False otherwise.

TYPE: bool

RAISES DESCRIPTION
Exception

If the signature format is invalid.