Trait darkfi_sdk::crypto::schnorr::SchnorrPublic
source · pub trait SchnorrPublic {
// Required method
fn verify(&self, message: &[u8], signature: &Signature) -> bool;
}
Expand description
Trait for public keys that implements a signature verification