Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does DES-EDE3 mean the same as Triple DES?

Tags:

encryption

I should use encryption DES-EDE3-CBC. Does this mean it is Triple DES in cipher-block-chaining mode?

like image 299
ps-aux Avatar asked Dec 20 '14 13:12

ps-aux


1 Answers

Yes. The EDE part tells you to use the specific variant of 3DES (everyone uses by default anyway) where you encrypt with key 1, decrypt with key 2, and then encrypt again with key 3 (which is usually the same as key 1).

The (minor) advantage of that mode is interoperability with DES: Set all three keys the same and you just spend a lot of time doing single DES. Not that anyone would, these days. Even 3DES is only interesting for compatibility with existing systems. Newer ciphers are faster and more secure, as far as anyone publicly admits to knowing.

Also see crypto.SE for such questions.

like image 165
Christopher Creutzig Avatar answered Sep 19 '22 15:09

Christopher Creutzig