Michiel Kalkman

Notes and observations

24 Nov 2020

DES Cipher visualisations

DES

DES - Electronic Code Book Mode

ECB Mode - Vulnerable to cryptanalysis, used for small values

DES - CBC - Cipher Bock Chaining Mode

CBC - Chaining, Transmission errors propagate

DES - CFB - Cipher Feedback Mode

CFB - Streaming, Chaining, Transmission errors propagate

DES - OFB - Output Feedback Mode

OFB - Streaming, No chaining, No error propagation

DES - CTR - Counter Mode

CTR - Streaming, No chaining, No error propagation

3DES

DES-EEE3

E(
  K1, E(
    K2, E(
      K3, P)))

DES-EDE3

E(
  K1, D(
    K2, E(
      K3, P)))

DES-EEE2

E(
  K1, E(
    K2, E(
      K1, P)))

DES-EDE2

E(
  K1, D(
    K2, E(
      K1, P)))
Next time, we'll talk about "What Tiger King can teach us about x86 Assembly"