DES Cipher visualisations

DES

  • 64-bit block, 56-bit key
    • Key standard is 64bit, 8 bits for parity not keying
  • Five modes of operation
    • ECB - Electronic Code Book
    • CBC - Cipher Block Chaining
    • CFB - Cipher Feedback
    • OFB - Output Feedback
    • CTR - Counter
  • 64bits of plaintext generate 64bits of ciphertext

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)))