3DES ECB

2002-06-04 Thread Stella Power

Hi,

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

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

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

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

Thanks,

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



Re: 3DES ECB

2002-06-04 Thread Pavel Tsekov

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]