psocipher.block_size
This commit is contained in:
parent
e2965699d3
commit
529690165d
@ -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()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user