Skip to main content

plaintext_len

Function plaintext_len 

Source
pub fn plaintext_len(body_len: usize) -> Result<u64>
Expand description

Plaintext length of a body of body_len bytes: every chunk but the last is full and the last holds at least one plaintext byte.