Re: Another Dumb Idea for Debunking...
- From: "TC" <aatcbbtccctc@xxxxxxxxx>
- Date: 31 Oct 2006 02:46:27 -0800
Bill Cox wrote:
You said RC4 could be used securely if you are careful. Can you
elaborate, since I'm going to try to use it in TinyCrypt?
As I understand it:
- RC4 is a "stream cipher". With stream ciphers, you must never use the
same key more than once. Otherwise, you open yourself to a
devastatingly effective & simple "known plaintext" attack. One way to
avoid this problem is to use an initialization vector or IV. Google
"stream cipher" or "Initialization vector" for more information.
- RC4 internally produces a sequence of pseudorandom numbers to perform
the encryption. The first few of those numbers sometimes exhibt
unhealthy correlations with the input key value. So, it is often
suggested to discard the first 256(?) pseudorandom numbers produced by
the cipher. You have to *reprogram it accordingly*. Obviously, the
receiver & transmitter must both agree on this change. It's no good if
one of them uses that change but the other one doesn't.
- RC4 exhibits other statistical biases if you use it to encrypt more
than 50 billon squintillion gazillon quadrillion bytes of information.
This will allow an attacker to - uh - your guess is as good as mine!
But the experts here are very definite that this is a problem. You
should easily find discussions of this by googling for RC4 in this
newsgroup.
"Cryptanalysis relies on exploiting redundancies in the plaintext;
Personally, I would have thought that was wrong. Modern ciphers do not
show any statistical anomalies in the ciphertext, so there are no
redundancies to exploit. Yes folks? No?
HTH,
TC (MVP MSAccess)
http://tc2.atspace.com
.
- Follow-Ups:
- Re: Another Dumb Idea for Debunking...
- From: Bill Cox
- Re: Another Dumb Idea for Debunking...
- References:
- Another Dumb Idea for Debunking...
- From: Bill Cox
- Re: Another Dumb Idea for Debunking...
- From: Ben Rudiak-Gould
- Re: Another Dumb Idea for Debunking...
- From: Bill Cox
- Another Dumb Idea for Debunking...
- Prev by Date: Re: Newbie question about AES encryption
- Next by Date: Re: Another Dumb Idea for Debunking...
- Previous by thread: Re: Another Dumb Idea for Debunking...
- Next by thread: Re: Another Dumb Idea for Debunking...
- Index(es):
Relevant Pages
|