Trace the f-function your professor expects on exams
Mission tie-in: DES is the heaviest trace on your exam. Master one full round — expansion, XOR subkey, S-box lookup, P-permutation, Feistel XOR — and the other 15 rounds are identical with different subkeys.
Big picture: 64 bits in, 64 bits out
DES is a block cipher: 64-bit plaintext block, 56-bit effective key (64 bits with parity bits dropped), 16 identical rounds, then inverse initial permutation.
Each round needs a 48-bit subkey Kₙ from the 56-bit master key — see DES Key Schedule for PC-1 → shifts → PC-2 and worked K₁, K₂.
The f-function — four steps
1Expansion E: 32-bit R → 48 bits (some bits duplicated)
2XOR with subkey Kₙ: 48-bit result split into eight 6-bit chunks
3S-box substitution: each 6 bits → 4 bits via S1…S8 tables
4P-permutation: shuffle the 32 bits output from S-boxes