pub fn cbc_encrypt<C: BlockCipher>(
cipher: &C,
iv: &[u8],
data: &mut [u8],
) -> Result<()>Expand description
CBC encryption over a plaintext that is already a whole number of blocks.
Use pkcs7_pad first if your data is not block-aligned.