Function lightning::util::message_signing::verify[][src]

pub fn verify(msg: &[u8], sig: &str, pk: &PublicKey) -> bool
Expand description

Verifies a message was signed by a PrivateKey that derives to a given PublicKey, given a message, a signature, and the PublicKey.