bitwarden_crypto::aes

Function encrypt_aes256_internal

Source
fn encrypt_aes256_internal(
    rng: impl RngCore,
    data_dec: &[u8],
    key: &GenericArray<u8, U32>,
) -> ([u8; 16], Vec<u8>)
Expand description

Encrypt using AES-256 in CBC mode.

Used internally by: