Skip to main content

MAX_PLAINTEXT

Constant MAX_PLAINTEXT 

Source
pub const MAX_PLAINTEXT: u64 = _; // 274_877_906_880u64
Expand description

The longest plaintext one (key, nonce) seals (RFC 8439 §2.8): the payload’s blocks start at counter 1 and must not wrap the 32-bit counter back onto the one-time key’s keystream.