pub trait SchnorrPublic {
    // Required method
    fn verify(&self, message: &[u8], signature: &Signature) -> bool;
}
Expand description

Trait for public keys that implements a signature verification

Required Methods§

source

fn verify(&self, message: &[u8], signature: &Signature) -> bool

Verify a given message is valid given a signature.

Implementors§