Hello Stella,

Tuesday, June 04, 2002, 11:14:59 AM, you wrote:

SP> Hi,

SP> I was wondering if someone could clarify this for me.  I'm trying to decrypt
SP> a string which has been encrypted in 3DES ECB mode.

SP> I'm using the command line utility and a program I have written to do this.
SP> According to the EVP_EncryptInit.html, I should use the cipher
SP> EVP_des_ede3().

This is correct!

SP> However in the command line utility I don't see any 3DES ECB cipher.
SP> According to the 'enc' man page the cipher 'des-ede3' is an alias for
SP> 'des-ede3-cbc'.

Maybe if you supply an IV then it is aliased to des-ede3-cbc ?!

SP> Are both of these correct?  If so, shouldn't there be a standard naming
SP> convention for these ciphers?  and how do I encrypt/decrypt a string in 3DES
SP> EC mode using the command line utility?

openssl des-ede3 -iv 0 -other-options-here

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

Reply via email to