pub trait Decryptor {
// Required method
fn decrypt(&self, ciphertext: &[u8]) -> Result<Vec<u8>>;
}
Expand description
Decrypt the given message
pub trait Decryptor {
// Required method
fn decrypt(&self, ciphertext: &[u8]) -> Result<Vec<u8>>;
}
Decrypt the given message