----- Original Message -----
From: Bodo Moeller <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 03, 1999 8:38 PM
Subject: Re: DES


[...]
> > I am able to do this with ssleay:
> > ssleay.exe enc -des -in input.txt -out output.txt -e -a -k mypassword
> >
> > I believe the des functions des_enc_read() or des_fcrypt() should be
useful
> > for me, [...]
>
> They are not.  As noted in crypto/des/enc_read.c,
>
[...]
>
> And des_fcrypt is an implementation of the standard Unix password
> encryption algorithm, which is just one way.  Also, DES keys are too
> short to be really secure -- for "openssl enc", you could use, say,
> -des_ede instead of -des.  (-des_ede is two-key Triple-DES).

Great, thank you. I began testing with -des just to begin with easier things
first (which weren't so easy for me, actually;)).

> Look at its implementation (apps/enc.c) to see what applications can
> do to use the ciphers.

Wow, nothing easy for me to understand in that file.. I even tried compiling
it (NT, VC++5) , but failed to do so.
I'm now trying to understand how it works, even if I didn't find what I
expected, say some des_* encoding functions called!
Isn't there some sort of tutorial which I can read? I need to be introduced
in the matter, testing without knowing theory is stupid.

Thanks for helping,
albe.


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

Reply via email to