lua-users home
lua-l archive

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


On 6/25/2012 11:26 PM, Rob Kendrick wrote:
On Mon, Jun 25, 2012 at 04:20:46PM +0100, Rob Kendrick wrote:
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.

Indistinguishable, obviously.  I think it's time I went home.

It's not encrypted in a strong-encryption-method sense, I think [1], but the compression outcome should be similar.

[1] https://github.com/whoopdedo/number-lua/blob/master/lib/script.lua

--
Cheers,
Kein-Hong Man (esq.)
Kuala Lumpur, Malaysia