[][src]Function yaca::simple_decrypt

pub fn simple_decrypt(
    algo: &EncryptAlgorithm,
    bcm: &BlockCipherMode,
    sym_key: &Key,
    iv: Option<&Key>,
    ciphertext: &[u8]
) -> Result<Vec<u8>>

Decrypts data using a symmetric cipher