Skip to main content

ciphertext_len

Function ciphertext_len 

Source
pub const fn ciphertext_len(plaintext_size: u64) -> u64
Expand description

The exact ciphertext length a plaintext_size-byte plaintext encrypts to: the plaintext plus one TAG_LEN tag per chunk.