Tag
nonce-management
- Jan 13, 2025 Counter Block Layout and the Nonce Budget in CTR Mode How CTR turns a block cipher into a stream cipher, why the counter block must never repeat across messages under one key, and how the split between nonce and counter fixes the maximum message length. cryptography
- Feb 17, 2024 CCM: Combining a MAC and a Counter Inside One Mode How CCM derives a CTR nonce, a CBC-MAC IV, and a length-encoded authentication header to authenticate before encrypting, and what the two passes and the 16-byte block size cost. cryptography