comp.lang.ada
 help / color / mirror / Atom feed
From: "Julian Morrison" <julian@extropy.demon.co.uk>
Subject: Re: Arcfour in Ada
Date: Sun, 04 Mar 2001 21:08:09 +0000
Date: 2001-03-04T21:08:09+00:00	[thread overview]
Message-ID: <983740057.8037.0.nnrp-13.9e98cc46@news.demon.co.uk> (raw)
In-Reply-To: 3AA239E8.BB9AA911@multiweb.nl

"Thomas Boschloo" <nospam@multiweb.nl> wrote:

> But I figure that Arcfour has some overhead because of the extra keys
> you have to send :-)

You don't send extra keys, you send one partial key, you complete it with
a new IV each time it's used, and prepend the IV to the message.
 
> Funny that DoD doesn't have Rijndael in Ada, as they developed Ada in
> the first place :-P I had a large interest in Ada because the design
> philosophy appealed to me, but I figured it would be largely 'dead' by
> now and replaced by C++ and Java :-( I don't like C++, it's a mess.

There is Rijndael in Ada, available from the Adapower site. Unlikely to be
guv'mint code - bureaucrats are born with "security through obscurity"
hardwired into the soul.
 
> To Julian (if he still frequents this newsgroup, my reply is a bit
> overtime)

I do :-)

> , I figured you could just use one of those 16 bytes as a
> 'length' field. You would even keep 4 bits of that 'octet' for other
> purposes or future additions! The overhead doesn't seem as bad as you
> presented at first (I seem to remember somehow that you thought it was
> 64 bytes, I might be mistaken).

I can switch to Rijndael easily, since there's Ada code for it, but it's
fiddly and more bother than I care for, and the potential gain isn't great
enough to justify the hassle.
 
> And you wouldn't have the 'key' overhead in Arcfour (no idea how big
> that would be in the long run).

There isn't any, really, at least not any I wouln't need just as bad with
Rijndael.

> Here are some RFC's you might consider reading (if you hadn't done so
> already):
> 
> RFC 793 (TCP), 1122 (fixes), 1323 (extensions) => TCP protocol RFC 768
> => UDP (very easy and simple to understand) RFC 791 => IP version 4 RFC
> 1883 => IP version 6 (longer addresses for the future)
> 
> Protocols like TCP/UDP are layered on IP and the RFC's can tell you the
> sizes of the datagrams you can send with them.

Thanks for that info :-)



      parent reply	other threads:[~2001-03-04 21:08 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-26  3:27 Arcfour in Ada Julian Morrison
2001-02-26 22:41 ` Thomas Boschloo
2001-02-26 23:20   ` Julian Morrison
2001-02-27  0:58     ` Thomas Boschloo
2001-02-27  5:07       ` Julian Morrison
2001-02-27  1:39   ` Larry Kilgallen
2001-02-27  3:54   ` Benjamin Goldberg
2001-02-27  5:28     ` Julian Morrison
     [not found]     ` <oXb8ZDqjoLyP@eisner.encompasserve.org>
     [not found]       ` <3A9BC5FA.FA89B58A@optonline.net>
     [not found]         ` <nMQm6.157$ms6.82520192@twister1.starband.net>
     [not found]           ` <3A9BF442.7E840E64@optonline.net>
2001-02-27 21:03             ` On RC4 in C Roger Schlafly
2001-02-27 22:57               ` William Hugh Murray
2001-02-28  0:29                 ` phil hunt
2001-02-28  5:07                 ` Anne & Lynn Wheeler
2001-02-28  5:36           ` Guy Macon
2001-03-04 12:49     ` Arcfour in Ada Thomas Boschloo
2001-03-04 13:18       ` Sam Simpson
2001-03-04 21:08       ` Julian Morrison [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox