Unruh wrote:
Beowulf <beowulf@wayoftheancients.trailwrites:
>
>ok i know only a little about file encryption, but a thought hit me: if a
>file is encrypted, say with Blowfish, could that encrypted file then be
>again encrypted with say DES, then that file encrypted with Blowfish or
>some other algorithm again? I mean, what it there to prevent a file from
>being recursively encrypted, since a file is a file? And wouldn't
>recursive encryption make a file almost exponentially secure or encrypted?
>
Sure.
And no, it is not exponentially secure. And it is at a huge expense in
speed of encryption and in length of key. If you use the same key for all
encryptions, then it is not much more secure than a single ecryption, for a
huge cost in time. If you use different key s for each then the effective
key length is n times as long and again the strength gained is as much as
if you used a single encryption designed for that key length.
--
I am no expert, but it occurs to me that there are two reasons why one
would think to use multiple encryption algorithms for the same plaintext.
1. If a weakness is discovered in one algorithm that allows decryption
without brute-force then the other algorithms may still be secure.
2. Brute-forcing would require a pass for each algorithm.
course, if the specific algorithms used can be mathematically reduced
to one algorithm then as regards point one, only one algorithm need be
"broken", while in regards to point two only one brute-force pass would
be required.
I have no idea if multiple encryption algorithms can be reduced (except
for such related methods as rot-13).