pub trait DecryptProvider {
type Cipher;
// Required method
fn decrypt(
&self,
input: &mut DecryptData,
cipher: Self::Cipher,
) -> Result<DecryptionResult, DefaultError>;
}
pub trait DecryptProvider {
type Cipher;
// Required method
fn decrypt(
&self,
input: &mut DecryptData,
cipher: Self::Cipher,
) -> Result<DecryptionResult, DefaultError>;
}