DES Cipher visualisations

ยท 120 words ยท 1 minute read

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