DES Encryption: libdes vs SSLeay (OpenSSL)

DES Encryption: libdes vs SSLeay (OpenSSL)

Secure Home | Search | About
 General Computer Security    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content add this group's latest topics to your Google content
Subject Author Date
DES Encryption: libdes vs SSLeay (OpenSSL) google 03-06-2006
Posted by on March 6, 2006, 3:27 pm
If you were  Registered and logged in, you could reply and use other advanced thread options
I'm trying to get SSLeay to produce the same results as libdes. I have
a copy of the des.exe program that uses libdes v4.01. I also have
SSLeay 0.8.1, both written by Eric Young.

I am unable to produce identical encryted files using libdes and
ssleay. The commands I am trying are:

des.exe -E -k 12345678 input.txt output.enc

ssleay enc -des -e -k 12345678 -in input.txt -out output.enc -iv
0000000000000000

Does anyone know why this might be? Surely if the Initialisation
Vector is set to 0 in SSLeay, it should give the same results as the
older libdes library?

Thanks,
Campbell


Similar ThreadsPosted
SSRT2310 rev.3 HP-UX OpenSSL July 5, 2004, 3:28 pm
howto: openssl and sslserver June 11, 2006, 12:15 pm
SSRT3521 rev.2 HP-UX OpenSSL CBC timing attack in SSL and TLS July 5, 2004, 3:32 pm
openssl genrsa does not work in CGI mode March 28, 2005, 1:51 am
OpenSSL CSR command line help required March 6, 2007, 7:05 am
SSRT3499 rev.3 SSRT3518 Security Vulnerabilities in OpenSSL July 5, 2004, 3:36 pm
How to change the Serial Number of an OpenSSL certificate? June 3, 2007, 5:29 pm
Generating non-exportable private keys with OpenSSL ? May 26, 2008, 5:43 am
SSRT4717 rev.0 Remote denial of service in Apache OpenSSL SSL/TLS May 17, 2004, 2:26 pm
SSRT4717 rev.0 Remote denial of service in Apache OpenSSL SSL/TLS July 5, 2004, 3:46 pm

The site map in XML format XML site map

Contact Us | Privacy Policy