Bacula-users

Re: [Bacula-users] don't compress files only in my PC [was: Re: bacula not use all bandwidth of network]

2009-04-02 20:37:28
Subject: Re: [Bacula-users] don't compress files only in my PC [was: Re: bacula not use all bandwidth of network]
From: morty AT frakir DOT org
To: Victor Hugo dos Santos <listas.vhs AT gmail DOT com>
Date: Thu, 2 Apr 2009 20:30:40 -0400
On Thu, Apr 02, 2009 at 06:11:16PM -0400, Victor Hugo dos Santos wrote:

> is true that bacula don't compress encrypted files or data ??
> and in positive case, why ???

Compression works by reducing redundancy in low-entropy data
(e.g. eliminating patterns in data with patterns.)  Good encryption
schemes produce output that is nearly indistinguishable from random,
high entropy data (e.g. removes any obvious patterns.)  So the output
of good encryption is mathematically uncompressable.  This is related
to the reason why you can't compress data that has already been
compressed.

Note that you *can* go the other way, i.e. you can encrypt compressed
data.  Encryption doesn't care whether the input is low entropy or
high entropy.

- Morty

------------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users