Hello,
> The results are amazing to me.
> 
> CryptoAPI derived key
> ca ee 31 f5 5e d5 65 00 e9 60 c2 eb 79 58 68 b8 b6 fd d5 26 8d 3c 21 f7
> cb ef 31 f4 5e d5 64 01 e9 61 c2 ea 79 58 68 b9 b6 fd d5 26 8c 3d 20 f7
> keyWin32 value
> 
> As you can see, these keys are a little bit equal. :)
> 
> But... the 3DES-ciphers are equal!
> 
> What does it mean? Why do 3DES algorithm of CryptoAPI and 3DES algorithm of
> OpenSSL produce the same cipher by different keys? :confused:
In DES only 7 bits of 8 from any byte are used, one bit (called "parity"
bit) is ignored.

In your example:
nx9010#bc
bc 1.06
Copyright 1991-1994, 1997, 1998, 2000 Free Software Foundation, Inc.
This is free software with ABSOLUTELY NO WARRANTY.
For details type `warranty'.
ibase=16
obase=2
CA
11001010
CB
11001011
65
1100101
64
1100100

as you see, only last bit is different (and is ignored by algorithm)

Best regards,
-- 
Marek Marcola <[EMAIL PROTECTED]>

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to