lua-users home
lua-l archive

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

On Mon, Jun 25, 2012 at 11:28:30AM -0300, Roberto Ierusalimschy wrote:
> > On 25/06/2012 9.06, Enrico Colombini wrote:
> > >But programs should compress better :-)
> > 
> > I take that back: of course it will have the same information content.
> Encripted files have exactly the same information content of the
> original, but usually they do not compress at all.

This is because it is important that your ciphertext is extinguishable
from random data.  If it weren't, then your cipher is broken, as
statistical attacks would be easier.