[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cypto + compression



[email protected] writes:
> Compressing before encryption is vital--it makes brute force and plaintext
> attacks much more difficult.

Be careful doing that.  It's fine if you are using a compression
algorithm that is designed for use with encryption, but if you're just
using compress and you make that known, then an opponent just has to
look for the magic numbers and headers that compress puts in the front
of every file.  Instead of believing that strings like "the" will appear
somewhere, the opponent now knows exactly what the encrypted document
starts with.

 -----------------------------------------------------------------
  Tom Strong              N3NBB              [email protected]