[52806] in Cypherpunks

home help back first fref pref prev next nref lref last post

Re: About Triple DES ......

daemon@ATHENA.MIT.EDU (Eric Young)
Wed Mar 27 23:36:36 1996

Date: Thu, 28 Mar 1996 09:38:39 +1000 (EST)
From: Eric Young <eay@mincom.oz.au>
To: Bill Stewart <stewarts@ix.netcom.com>
Cc: Victor Ramon Aguilar Ocampo <aguilar@servidor.dgsca.unam.mx>,
        cypherpunks@toad.com
In-Reply-To: <199603270836.AAA20254@dfw-ix12.ix.netcom.com>

On Wed, 27 Mar 1996, Bill Stewart wrote:
> That part's easy - DES source is available on ftp.ox.ac.uk, and also on
> ftp.dsi.unimi.it and ftp.funet.fi.  There may be specific triple-DES 
> code there, but if not, triple DES is just
>         Encrypt(Key1, Decrypt(Key2, Encrypt(Key3, Message)))
> so you can easily write a subroutine to do that.

I got carried away with adding triple DES to libdes v 3.21+ (listed at
most of the above mentioned sites) back in november.  It has routines for
triple DES in ecb, cbc, cfb64 and ofb64 modes.

The SSLeay package builds a utility called 'enc' which can 
encrypt/decrypt with optional base64 conversion in any of the above 
mentioned modes (plus more).  Infact, SSLeay has much nicer higher level 
'by parts' finctions for the ciphers that are much easier to use.

eric
--
Eric Young                  | Signature removed since it was generating
AARNet: eay@mincom.oz.au    | more followups than the message contents :-)


home help back first fref pref prev next nref lref last post