NODE b21179b8Re: About Triple DES ......
Bill Stewart <stewarts@ix.netcom.com>Wed, 27 Mar 1996 20:59:47 +0800
At 02:24 PM 3/26/96 -0600, you wrote:
> Please let me know if TRIPLE DES is regulated by the same rules than
>the others criptography systems in USA.
> We want to use it here in National Autonomous University of Mexico, so
>we don't want to get jailed.
I don't know about Mexican law. US persons are not supposed to export it
without government permission, but that's not very relevant.
Mexican law may or may not restrict import or use of crypto; better check
with someone local. (I haven't heard anything saying that it _does_
restrict it - I just don't know either way.)
> In case we can use it somebody knows where can i get the source code ??
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.
#--
# Thanks; Bill
# Bill Stewart, stewarts@ix.netcom.com, +1-415-442-2215 pager 408-787-1281
1995: Chat rooms, espresso, and Linux
1996: Exon, melatonin, and Java.
NODE ab12944bRe: About Triple DES ......
Eric Young <eay@mincom.oz.au>Thu, 28 Mar 1996 18:27:23 +0800
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 :-)