[][src]Trait suzume::Key

pub trait Key {
    fn verify(self, plain: &str, signature: Vec<u8>) -> Result<bool, Error>;
}

decryption Key

Required methods

fn verify(self, plain: &str, signature: Vec<u8>) -> Result<bool, Error>

verify plain text and signature with this key

Loading content...

Implementors

Loading content...