Hi there,

Some time ago, I developed an application using SSLeay 0.9b. I compiled
SSLeay both for Solaris and Linux,

my application used a rather basic DES encryption, something like this:

/usr/local/ssl/bin/des  -in originalfile -e -a -k key -out cryptfile
more cryptfile
/usr/local/ssl/bin/des  -in cryptfile -d -a -k key -out decryptfile
more decryptfile


Meanwhile, I want to migrate to OpenSSL (packages openssl-0.9.5-5 from
the SuSE 6.4 distribution). However, if I use

openssl des  -in originalfile -e -a -k key -out cryptfile
more cryptfile
openssl des  -in cryptfile -d -a -k key -out decryptfile
more decryptfile

the cryptfiles differ, so I can´t mix both versions. On the other hand,
for migration, I WILL HAVE TO mix both versions, at least for some time.

Is there anybody on the air who knows the reason for the differences
and, if possible, can make openssl producing EXACTLY the same results as
old SSLeay?

Thank you,

Hubert Fröhlich

--
-------------------------------------------------------------------------------
Dr.-Ing. Hubert Fröhlich                          Tel. :+49 (0)89 / 2190 - 2580
Bezirksfinanzdirektion München                    Fax  :+49 (0)89 / 2190 - 2459
Alexandrastr. 3                                  [EMAIL PROTECTED]
D-80538 München
GERMANY



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

Reply via email to