Skip to main content

cbc_decrypt

Function cbc_decrypt 

Source
pub fn cbc_decrypt<C: BlockCipher>(cipher: &C, iv: &[u8], data: &mut [u8])
Expand description

Decrypt data in CBC mode.

ยงPanics

Panics if data.len() is not a multiple of the block size, or if iv.len() does not match the block size.