← Foundations of Cryptography

Symmetric Encryption

Block ciphers, stream ciphers and modes of operation.

A subcategory of Foundations of Cryptography, collecting its introduction, articles and resource entry points.

§

Articles here

22 Nov 2026 Foundations of Cryptography

The AEAD Idea: Encryption Must Ship With Tamper Resistance

Encryption that provides confidentiality without integrity has been dismantled again and again by padding oracles and tampering attacks. AEAD merges confidentiality and integrity into a single primitive and signs the context in as associated data — the default shape of encryption in modern protocols.

AEADAuthenticated EncryptionIntegrityAES-GCM

Read more →
22 Nov 2026 Foundations of Cryptography

Walking Through the AES Round Function: How Four Steps Stir One Byte Across the Whole Block

SubBytes creates nonlinearity, ShiftRows moves positions, MixColumns mixes, AddRoundKey injects the key — a step-by-step dissection of the four actions in every AES round, and how confusion and diffusion divide the labor on a 4×4 byte matrix.

AESRound FunctionS-boxMixColumns

Read more →
22 Nov 2026 Foundations of Cryptography

Modes of Operation Compared: The Lesson of ECB and the Division of Labor Among CBC, CTR, and GCM

A block cipher handles 128 bits at a time; how to encrypt long messages is the job of a mode of operation. ECB leaks patterns by encrypting blocks independently, CBC chains, CTR counts, and GCM adds authentication on top of the counter — pick the wrong mode and the strongest algorithm is wasted.

Modes of OperationECBCBCCTRGCM

Read more →
22 Nov 2026 Foundations of Cryptography

Confusion and Diffusion: Shannon's Two Design Laws for Symmetric Ciphers

In 1949 Shannon proposed confusion and diffusion: make the key–ciphertext relationship too complex to peel apart, and spread each plaintext bit's influence across the whole output. These two principles remain the first yardstick for judging any block cipher.

ShannonConfusion and DiffusionBlock Cipher Design

Read more →
22 Nov 2026 Foundations of Cryptography

Feistel vs SPN: The Two Structural Routes for Block Ciphers

A Feistel network trades 'one half stands still while the other is stirred' for identical encryption and decryption circuits; a substitution–permutation network processes the whole block every round. The two routes produced DES and AES, and shaped two generations of analysis and hardware character.

Feistel NetworkSPNDESStructural Design

Read more →
22 Nov 2026 Foundations of Cryptography

Key Length and the Margin After Grover: The Quantum Ledger for Symmetric Ciphers

Grover's algorithm compresses exhaustive key search from 2^n to about 2^(n/2) — which sounds like a halving, until it is converted into time and remains astronomical. This article settles the ledger: why AES-128's margin is still ample, why AES-256 is cheap long-term insurance, and where the real risks sit outside the ledger.

Grover's AlgorithmKey LengthAES-256Quantum Safety Margin

Read more →
22 Nov 2026 Foundations of Cryptography

Stream Ciphers and ChaCha20: Encryption Without Blocks

A stream cipher does not cut data into blocks; it generates a keystream as long as the plaintext and masks it byte by byte. ChaCha20 weaves that stream from additions, rotations, and XORs, becoming the best software answer where AES hardware acceleration is absent.

Stream CipherChaCha20Keystream

Read more →
22 Nov 2026 Foundations of Cryptography

Why Lightweight Cryptography Exists: Arithmetic for a Coin Cell

When the thing being encrypted is an RFID tag, a sensor, or a microcontroller, the circuit area and energy cost of AES can be the product's life-or-death line. Lightweight cryptography is not 'AES lite' but a design discipline that re-solves the problem under hard constraints of gates, energy, and throughput — and ASCON's selection as a NIST standard is its coming of age.

Lightweight CryptographyASCONIoTConstrained Devices

Read more →
§

More in this section