pub trait Encryptor {
// Required method
fn encrypt(
&mut self,
input: &mut RefReadBuffer<'_>,
output: &mut RefWriteBuffer<'_>,
eof: bool,
) -> Result<BufferResult, SymmetricCipherError>;
}
pub trait Encryptor {
// Required method
fn encrypt(
&mut self,
input: &mut RefReadBuffer<'_>,
output: &mut RefWriteBuffer<'_>,
eof: bool,
) -> Result<BufferResult, SymmetricCipherError>;
}