Function sodiumoxide::crypto::sign::ed25519::verify_detached
[−]
[src]
pub fn verify_detached(Signature: &Signature,
m: &[u8],
PublicKey: &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.