Thanks for the comments - constructive and otherwise. My ignorance has receded slightly and I now realise the command I think I may need is des-ede (encrypt-decrypt-encrypt right?).. No matter what IV I use the result is the same - so you're right about the dummy IV Henrik. Thanks.....
----- Original Message ----- From: "Henrik Nordstrom" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, September 17, 2003 12:35 AM Subject: Re: Triple DES ECB - just with key - no iv no salt > On Tue, 16 Sep 2003, Richard Levitte - VMS Whacker wrote: > > > In message <[EMAIL PROTECTED]> on Tue, 16 Sep 2003 13:56:40 +0100, Robert Hogan <[EMAIL PROTECTED]> said: > > > > robert.d.hogan> I only want to use the key - no salt and no iv. As far > > robert.d.hogan> as I understand it, ECB does not require an > > robert.d.hogan> IV. However, when I try the first part of the > > robert.d.hogan> operation: > > > > Do "openssl enc -h" and observe the difference between -k and -K. Now > > look at the command you cited above. At this point, your brain should > > go *ding* *ding* *ding* :-). > > ??? > > Isn't it just the case that the enc command insist on having an iv > specified even if not actually used by the des-ecb cipher? And to run > des-ecb with a specified key (not password) one must supply a dummy iv > just to make the enc command happy with it's arguments. > > Regards > Henrik > ********************************************************************** This document is strictly confidential and is intended for use by the addressee unless otherwise indicated. Allied Irish Banks ********************************************************************** ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]