3DES key generation

Egon Andersen ean@ishoejby.dk
Sat Apr 19 08:56:01 2003


Johan Wevers wrote:
> Egon Andersen wrote:
> 
> 
>>And you are right 3DES uses 3*56 bit, but the receiver actually only 
>>uses 2DES
> 
> 
> Hmmm. I remember there was some big weakness in 2DES, but I can't remember
> what it was exactly. Does someone here know that?
> 
To be more correct, the receiver uses two-key Triple-DES
C=E(ks1,D(ks2,E(ks1,M)))
This form of Triple-DES is used by the RSAREF library.

I think I've found the solution to my problems in the openssl libraries.

Best regards
Egon Andersen