From: Thomas Boschloo <nospam@multiweb.nl>
Subject: Re: Arcfour in Ada
Date: Tue, 27 Feb 2001 01:58:33 +0100
Date: 2001-02-27T01:58:33+01:00 [thread overview]
Message-ID: <3A9AFBB9.D658B146@multiweb.nl> (raw)
In-Reply-To: 983229612.3178.0.nnrp-10.9e98cc46@news.demon.co.uk
Julian Morrison wrote:
>
> "Thomas Boschloo" <nospam@multiweb.nl> wrote:
>
> > Why did you decide to go for arcfour and not the AES
> > http://www.nist.gov/aes ?
> > [...]
> >
> > AES seems so much more secure in the long run than RC4!
>
> AFAIK, the AES cypher is more secure in that you can safely reuse keys.
> It's also newer, though, and new crypto is less trustable. AES is also a
> very gread deal more CPU churn and overhead than Arcfour. Since you can
> only encrypt in blocks of four bytes, you need extraneous header info to
> show where the contents end, and you need to CBC the blocks together. If
> you're encrypting a lot of small things (such as in Fling's routeballs)
> the overheads will add up.
That makes sense. I believe you could perhaps use an escape character to
identify the end of a string. Like (and I have to dig deep into my
memory now) when you send a bit string, you could say that '000' marks
the end of your bit string. If you need to actualy send '000' you pad it
like '0010' or something like that. I am a bit rusty, have to look it up
in my old study books.
A better example might be the way printf and scanf work in C. '/' is the
escape character (like '/n', '/0', etc.) and if you actually want to
send a '/' you just send a '//'. It need not take up a lot of
bandwidth/space I think. But I don't know much about implementing TCP. I
do know that the freedom network stopped using fixed sized packages in
version 2.1 or something, because it took up too much bandwidth. I seem
to remember that they also use UDP for something but I am confusing
myself now. The good thing about UDP is that you don't have to set up a
connection to send data. It doesn't have to point back to you (which is
good if you want to be anonymous).
Well, who do I think I am :-) I'm sure you already know all you need to
know and more ;-)
Regards & Good luck,
Thomas
--
Jessica "I'm not bad, I'm just drawn that way"
next prev parent reply other threads:[~2001-02-27 0:58 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 [this message]
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
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox