pub trait EncryptProvider {
type Cipher;
// Required method
fn encrypt(
&self,
plaintext: &str,
password: &str,
ek: Self::Cipher,
) -> Result<EncryptionResult, DefaultError>;
}
pub trait EncryptProvider {
type Cipher;
// Required method
fn encrypt(
&self,
plaintext: &str,
password: &str,
ek: Self::Cipher,
) -> Result<EncryptionResult, DefaultError>;
}