pub(crate) fn encrypt_aes256(
data_dec: &[u8],
key: &GenericArray<u8, U32>,
) -> ([u8; 16], Vec<u8>)
Expand description
Encrypt using AES-256 in CBC mode.
Behaves similar to encrypt_aes256_hmac, but does’t generate a MAC.
§Returns
A AesCbc256_B64 EncString