Skip to main content
superscripts for exponents; add multiplication symbol
Source Link
forest
  • 67.3k
  • 20
  • 218
  • 280

Recovering the key for double-DES takes three steps. Given the plaintext and the ciphertext you do the following:

  1. Encrypt the plaintext with all 2^56256 possible keys and write down the results
  2. Decrypt the ciphertext with all 2^56256 possible keys and write down the results
  3. Check where the results are the same. That is your key.

Note that all you had to do to recover the key was using DES 2 * 2^56× 256 times, which makes 2^57257.

Recovering the key for double-DES takes three steps. Given the plaintext and the ciphertext you do the following:

  1. Encrypt the plaintext with all 2^56 possible keys and write down the results
  2. Decrypt the ciphertext with all 2^56 possible keys and write down the results
  3. Check where the results are the same. That is your key.

Note that all you had to do to recover the key was using DES 2 * 2^56 times, which makes 2^57.

Recovering the key for double-DES takes three steps. Given the plaintext and the ciphertext you do the following:

  1. Encrypt the plaintext with all 256 possible keys and write down the results
  2. Decrypt the ciphertext with all 256 possible keys and write down the results
  3. Check where the results are the same. That is your key.

Note that all you had to do to recover the key was using DES 2 × 256 times, which makes 257.

Source Link
fr00tyl00p
  • 2.3k
  • 1
  • 17
  • 17

Recovering the key for double-DES takes three steps. Given the plaintext and the ciphertext you do the following:

  1. Encrypt the plaintext with all 2^56 possible keys and write down the results
  2. Decrypt the ciphertext with all 2^56 possible keys and write down the results
  3. Check where the results are the same. That is your key.

Note that all you had to do to recover the key was using DES 2 * 2^56 times, which makes 2^57.