pub trait BlockCipher {
type Block: AsRef<[u8]> + AsMut<[u8]> + Default + Copy;
type BlockByteLen: Positive;
// Required method
fn encrypt(&self, inp: &Self::Block) -> Self::Block;
}pub trait BlockCipher {
type Block: AsRef<[u8]> + AsMut<[u8]> + Default + Copy;
type BlockByteLen: Positive;
// Required method
fn encrypt(&self, inp: &Self::Block) -> Self::Block;
}