Trait ore_rs::CipherTextBlock [−][src]
pub trait CipherTextBlock: Default + Copy + Debug {
const BLOCK_SIZE: usize;
fn to_bytes(self) -> Vec<u8>;
fn from_bytes(data: &[u8]) -> Result<Self, ParseError>;
}
pub trait CipherTextBlock: Default + Copy + Debug {
const BLOCK_SIZE: usize;
fn to_bytes(self) -> Vec<u8>;
fn from_bytes(data: &[u8]) -> Result<Self, ParseError>;
}