Function encrypt_chacha20

Source
pub(crate) fn encrypt_chacha20(
    key: &ChaCha20Key,
    plaintext: &[u8],
    ciphertext: &mut [u8],
    nonce: &[u8; 12],
    counter: u32,
) -> Result<(), Unspecified>