Skip to main content

chunk_count

Function chunk_count 

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

The number of STREAM chunks a plaintext_size-byte plaintext encrypts to. An empty plaintext is still one (empty, last) chunk: its ciphertext is a bare tag.