Saying 3DES is 'three times stronger' than DES is misleading. DES uses a 56-bit key, 3DES has an effective 112 bit key. If you had a supercomputer that could crack DES in 1 second, it would still take that machine 10^9 years to crack 3DES.Since others had already pointed out why you were wrong, I felt I didn't need too. But I did want to call attention to the magnitude of your error
--These Premises Are Alarmed
3DES is still reasonably strong (much more than "three times stronger than DES"), but this implementation is really typical of the magic bullet approach to security. I expect the underlying problem is rather similar to that faced by the US with its voting machines: a clueless, non-technical government administrator has been put in charge of a major IT project and been sold the (pointless, unworkable, counterproductive, and expensive) technology by a wily contractor. It's the latest in a long line of IT projects that the British government has proved itself totally incapable of delivering (see NHS "connecting for health" disaster).
-- hoverboards don't work on water
DES has 56 bit. 3DES has an effective 112 bits (3DES is, just as it implies, DES run three times, using three keys, the first encrypts, the second *decrypts* the encrypted first stream, the third encrypts the "decrypted" stream.)
112-56 = 56. Each extra bit doubles the time it takes to brute force. So, DES takes an hour, and 3DES takes 256hours, or 72,057,594,037,927,936 hours, or 3,002,399,751,580,330 days, or about 8 trillion years. The best attack, as of early this year, required 232 plaintexts and 288 bytes of memory, which allows you to break it in 2119 steps. (There are other tradeoffs between time and memory. Good luck with that.)
--eriko
« Older "I don't have any more babes."... | Michael Hughes takes cheap sou... Newer »
This thread has been archived and is closed to new comments
They'd have done much better with AES or Blowfish... although given the poor key choice, it doesn't matter a whit in this particular case.
posted by Malor at 4:01 AM on November 17, 2006