Re: A basic cryptanalysis question
From: Rick Wash (rwash_at_citi.umich.edu)
Date: 07/09/03
- Next message: Bryan Olson: "Re: Magic Flight: A New Public Key Algorithm stronger? than factoring"
- Previous message: Dave Thompson: "Re: Release 1.1 (beta) of my AES implementation"
- In reply to: RR: "A basic cryptanalysis question"
- Next in thread: DSCOTT: "Re: A basic cryptanalysis question"
- Reply: DSCOTT: "Re: A basic cryptanalysis question"
- Reply: RR: "Re: A basic cryptanalysis question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 09 Jul 2003 03:15:55 GMT
In article <h3LOa.3$Uz3.2@news-server.bigpond.net.au>, RR wrote:
> According to my limited understanding of cryptanalysis, Mallory can only
> know that he has recovered a pX based on what it looks like. For example,
> if p1 is "Hello World", then when Mallory sees that string appear out of his
> attack, he assumes he's recovered the plaintext.
>
> Is my understanding correct?
Yes, but only for what is known as a ciphertext-only attack. In the real
world, it usually isn't very difficult to find or guess very accurately a
plaintext block. There are known headers, signatures, etc that make known
plaintext fairly easy to come by. And when this happens, validating
plaintext is much easier.
> If so, then it follows that a brute-force attack is impossible if I do this
> instead (where F is another symmetric cipher):
> c1 = E(F(p1))
I wouldn't say impossible, but slightly more difficult. You forgot to
include the keys in your construction. Let's assume you did it right and
used different, independent keys for E and F. (if you used the same or a
derived key for F, then what you said is not true). With independent keys
and a single known plaintext, you can build an encryption table for E and a
decryption table for F and use a meet-in-the-middle strategy to recover the
keys. This means that the work required to brute-force this construction
is only that required to brute-force E and F independently, instead of
together. This is a well-known meet in the middle attack on double
encryption. This is why the world uses triple-DES (3DES) instead of just
2DES.
HTH,
Rick
- Next message: Bryan Olson: "Re: Magic Flight: A New Public Key Algorithm stronger? than factoring"
- Previous message: Dave Thompson: "Re: Release 1.1 (beta) of my AES implementation"
- In reply to: RR: "A basic cryptanalysis question"
- Next in thread: DSCOTT: "Re: A basic cryptanalysis question"
- Reply: DSCOTT: "Re: A basic cryptanalysis question"
- Reply: RR: "Re: A basic cryptanalysis question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|