Remix.run Logo
▲ hadlock a day ago

IBM did this back in the day, they took DES, and called it 3DES. And it was backwards compatible with regular 1DES systems if you used the same key for all three layers

▲QuesnayJr a day ago | parent [-]

Is that why the middle round was backwards? I always thought that was mysterious.

▲bmurray7jhu 18 hours ago | parent [-]

The decryption operation in the second round prevents meet-in-the-middle attacks,[1] which involves making time-memory tradeoffs.

[1] https://en.wikipedia.org/wiki/Meet-in-the-middle_attack

▲cowlevel 13 hours ago | parent [-]

They would be true whether it was encryption or decryption. I read the second round decryption was indeed so that using the same key three times would make it equivalent to 1DES.