[−]Function cjdns_crypto::sign::ed25519::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.