1
$\begingroup$

Let's assume I've encrypted some text with some 24-byte key using 3DES in ECB mode. Is it possible to regain the key if I have both encrypted and decrypted text? (Excluding bruteforce.)

$\endgroup$
1
  • 2
    $\begingroup$ That would amount to divination. $\endgroup$
    – fgrieu
    Commented Jan 22, 2014 at 9:17

1 Answer 1

2
$\begingroup$

It is not practically possible. There are several attacks that are slightly faster than bruteforcing $2^{112}$ key candidates, but this is only a small factor. In some sense, they are bruteforce-like, since they require $2^{113}$ smaller steps.

$\endgroup$
1
  • $\begingroup$ There are $2^{168}$ possible keys for 24 byte 3DES. It is possible to attack such key with around $2^{112}$ steps, which saves time compares to brute forcing all the possible keys. (But it is still unpractical.) $\endgroup$
    – user4982
    Commented May 9, 2014 at 16:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.