Hi,

I try to migrate my app from BSAFE to Openssl.
But found RC2 to be incompatible in the following sense:

I created two encryptString functions, one using BSAFE Crypto-C
and the other using Openssl EVP_Cipher routines.
I pass them both the same passphrase and salt.
I set the effective key length to be 80 bits for both.
I use EVP_Bytestokey for generating the key and iv in Openssl.

Theoretically, the encrypted output for the same texts should
be the same for both.... but they are not!!

what gives?

Thanks for the help.

Steve

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

Reply via email to