psocipher.block_size

This commit is contained in:
Jake Probst 2019-08-21 17:22:21 -07:00
parent e2965699d3
commit 529690165d

View File

@ -13,6 +13,9 @@ pub trait PSOCipher {
fn encrypt(&mut self, data: &Vec<u8>) -> Result<Vec<u8>, CipherError>;
fn decrypt(&mut self, data: &Vec<u8>) -> Result<Vec<u8>, CipherError>;
fn header_size(&self) -> usize;
fn block_size(&self) -> usize {
self.header_size()
}
}