LOGBOOK

HELP

Quiz Entry - updated: 2026.07.14

What is the Feistel structure used in block ciphers like DES?

A Feistel cipher splits each block into two halves and processes them through multiple rounds where one half is transformed using a round function and XOR'd with the other half, then the halves are swapped.

One Feistel round: transform R with f, XOR into L, then swap

* One Feistel round: transform R with f, XOR into L, then swap — the same structure also decrypts. *

Its real elegance is practical: because the construction is self-inverting, the same circuitry runs both encryption and decryption (you only reverse the order of round keys), and the round function f never has to be invertible. Both mattered enormously when DES had to fit on 1970s hardware, which is why the structure outlived DES into Blowfish, Twofish, and many others.

One round of Feistel:

Input: (L_i, R_i)
L_{i+1} = R_i
R_{i+1} = L_i ⊕ f(R_i, K_i)

Key advantages:

  • Encryption and decryption use the same structure — just reverse the key schedule (apply round keys in reverse order)
  • The round function f does NOT need to be invertible — this gives designers more freedom
  • Proven structure used in DES, 3DES, Blowfish, Twofish, and many others

How decryption works:

  • Run the same algorithm but apply round keys K_r, K_{r-1}, ..., K_1 in reverse order
  • The Feistel structure guarantees this recovers the plaintext

Note: AES does NOT use a Feistel structure — it uses a substitution-permutation network (SPN) instead.

Go deeper:

From Quiz: KRYPTOG / Symmetric Cryptography | Updated: Jul 14, 2026