Skip to main content

encrypt

Function encrypt 

Source
pub fn encrypt(key: &[u8], iv: &[u8], data: &[u8]) -> Result<Vec<u8>>
Expand description

3DES-CBC encrypt with the same padding scheme decrypt expects.