CPE 645 / CS 685
Applied Cryptography
Calculators

Meeting in the Middle on Double and Triple DES

Attack double encryption from both ends. Two separate key searches replace one search over both keys. The page prices the attack in time, memory, and known pairs.

CryptanalysisMeet in the middledemo
Objectives
  • Order the steps of a meet-in-the-middle attack on a double encryption.

  • Compute the time, the memory and the known pairs the attack needs at a chosen key size.

  • Contrast the cost of a nested key search against the cost of two independent searches.

  • Predict how many key pairs survive a match on one known pair, and on two.

  • Justify the claim that memory, not time, is what keeps this attack from being run.


Static site. Every demo computes in your browser, and nothing you type is sent anywhere.