pub trait SegmentDecrypter {
// Required method
fn decrypt_segment(
&self,
segment: &[u8],
nonce: &[u8]
) -> Result<Vec<u8>, TinkError>;
}
Expand description
SegmentDecrypter
facilitates implementing various streaming AEAD encryption modes.