[][src]Function ssb_crypto::verify_detached

pub fn verify_detached(sig: &Signature, m: &[u8], pk: &PublicKey) -> bool

verify_detached() verifies the signature in sig against the message m and the signer's public key pk. verify_detached() returns true if the signature is valid, false otherwise.