bitwarden_crypto::xchacha20

Function encrypt_xchacha20_poly1305_internal

Source
fn encrypt_xchacha20_poly1305_internal(
    rng: impl RngCore + CryptoRng,
    key: &[u8; 32],
    plaintext_secret_data: &[u8],
    associated_data: &[u8],
) -> XChaCha20Poly1305Ciphertext