Re: Multiple layers of encryption
- From: Mark Wooding <mdw@xxxxxxxxxxxxxxxx>
- Date: Sat, 17 Jan 2009 20:18:16 +0000
"Joseph Ashwood" <ashwood@xxxxxxx> writes:
As has already been indicated, multiple layers is generally overkill,
the reference you are looking for is "Cascade ciphers: The importance
of being first" by Maurer and Massey, basically it says that if the
keys are indendent, it is no weaker than the inner most cipher., if
the keys are not independent all bets are off.
Note that this paper is old and its notions of security are weaker than
those usually considered by modern cryptographers. In particular, the
paper considers security against known-plaintext attacks; modern
cryptographers consider chosen-plaintext attack as the /weakest/ attack
profile worthy of attention: if an encryption scheme is weak against
chosen-plaintext attack, don't use it.
It's very easy to prove that a cascade of independently keyed encryption
schemes is as secure as the strongest component under chosen-ciphertext
attack. This formally justifies the use of cascades.
I also have to completely agree with David, and it is worth repeating exactly
what he said:
I second Kristian's advice. I'll go a bit further: I wouldn't recommend
around screwing around with block modes or implementing crypto stuff
yourself. I'd recommend using TLS or GPG or something like this that has
already been carefully vetted by cryptographers, if you possibly can.
From your post I infer that you are not already a crypto expert, and
building your own crypto is error-prone if you are not a crypto expert.
I'd have to dissent slightly from this. TLS is almost a very good
protocol, but (a) it has a number of unpleasant sharp edges -- e.g., the
requirement to cope with fragmented key-negotiation packets -- which
make implementation more complicated than it ought to be, and (b) the
whole X.509/PKIX certification model is utterly hopeless. In the light
of (b), especially, I can't honestly recommend `vanilla' TLS.
I don't have anything against OpenPGP as a protocol suite or GnuPG as an
implementation. And I do agree that designing crypto protocols for
production use is best left to experts.
-- [mdw]
.
- Follow-Ups:
- Re: Multiple layers of encryption
- From: Basil Brush
- Re: Multiple layers of encryption
- References:
- Multiple layers of encryption
- From: Basil Brush
- Re: Multiple layers of encryption
- From: Joseph Ashwood
- Multiple layers of encryption
- Prev by Date: Re: New computation method which could endanger used cryptosystems (?)
- Next by Date: Re: How long can we wait before we absolutely must take steps to protect against quantum computer attacks?
- Previous by thread: Re: Multiple layers of encryption
- Next by thread: Re: Multiple layers of encryption
- Index(es):
Relevant Pages
|