Re: confusing terminology

Rick van Rein <rick@openfortress.nl> Tue, 08 February 2005 09:29 UTC

Received: from above.proper.com (above.proper.com [208.184.76.39]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id EAA19026 for <openpgp-archive@lists.ietf.org>; Tue, 8 Feb 2005 04:29:44 -0500 (EST)
Received: from above.proper.com (localhost.vpnc.org [127.0.0.1]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1891QN3003462; Tue, 8 Feb 2005 01:01:26 -0800 (PST) (envelope-from owner-ietf-openpgp@mail.imc.org)
Received: (from majordom@localhost) by above.proper.com (8.12.11/8.12.9/Submit) id j1891QWV003461; Tue, 8 Feb 2005 01:01:26 -0800 (PST)
X-Authentication-Warning: above.proper.com: majordom set sender to owner-ietf-openpgp@mail.imc.org using -f
Received: from smtp19.wxs.nl (smtp19.wxs.nl [195.121.6.15]) by above.proper.com (8.12.11/8.12.9) with ESMTP id j1891Pxj003386 for <ietf-openpgp@imc.org>; Tue, 8 Feb 2005 01:01:25 -0800 (PST) (envelope-from vanrein@vanrein.org)
Received: from phantom.vanrein.org (ip545163dc.direct-adsl.nl [84.81.99.220]) by smtp19.wxs.nl (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) with ESMTP id <0IBL00AD751X8Q@smtp19.wxs.nl> for ietf-openpgp@imc.org; Tue, 08 Feb 2005 10:01:09 +0100 (CET)
Received: by phantom.vanrein.org (Postfix, from userid 502) id 1B69F2A64A; Tue, 08 Feb 2005 10:01:09 +0100 (CET)
Received: from cypherpunks.nl ([unix socket]) by cypherpunks.nl (Cyrus v2.2.6) with LMTPA; Tue, 08 Feb 2005 10:00:24 +0100
Received: by cypherpunks.nl (Postfix, from userid 998) id 34E5D705; Tue, 08 Feb 2005 10:00:24 +0100 (CET)
Received: from phantom.vanrein.org (ip545163dc.direct-adsl.nl [84.81.99.220]) by cypherpunks.nl (Postfix) with ESMTP id 461A934A for <vanrein@cypherpunks.nl>; Tue, 08 Feb 2005 10:00:21 +0100 (CET)
Received: by phantom.vanrein.org (Postfix, from userid 502) id 1427F2A64A; Tue, 08 Feb 2005 10:00:21 +0100 (CET)
Date: Tue, 08 Feb 2005 10:00:20 +0100
From: Rick van Rein <rick@openfortress.nl>
Subject: Re: confusing terminology
In-reply-to: <42085A7D.1000704@algroup.co.uk>
To: Ben Laurie <ben@algroup.co.uk>
Message-id: <20050208090020.GB33720@phantom.vanrein.org>
MIME-version: 1.0
Content-type: text/plain; charset="us-ascii"
Content-transfer-encoding: 7bit
Content-disposition: inline
User-Agent: Mutt/1.4.2.1i
X-Sieve: CMU Sieve 2.2
X-My-Coolest-Hack: http://rick.vanrein.org/linux/badram -> Exploit broken RAM
X-Spam-Checker-Version: Spam_Assassin 2.63 (2004-01-11) on cypherpunks.nl
X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.63
References: <20050207232427.GA37525@phantom.vanrein.org> <42085A7D.1000704@algroup.co.uk>
Sender: owner-ietf-openpgp@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-openpgp/mail-archive/>
List-Unsubscribe: <mailto:ietf-openpgp-request@imc.org?body=unsubscribe>
List-ID: <ietf-openpgp.imc.org>
Content-Transfer-Encoding: 7bit

Ben, others,

> >As for the "added side-effect" (which states the same thing doubly twice) I
> >see a cryptographic advantage in compression that should go here :- by
> >compressing a message, the entropy of the data that is encrypted is made
> >as high as possible.
> 
> Entropy is not altered by (lossless) compression.

Perhaps I wasn't clear enough.  The entropy in the total document is not
increased, but the entropy per encrypted block is.

Plain English text is good for about 1 bit of entropy per character/byte;
after compression, the total size is less, certainly for plain English
text.  This means that the same information is stored in less bytes, so
the entropy per byte (or per block of bytes) has risen.

It is advantageous to a cryptanalist to know that the input to an
encryption algorithm is plain English text, because it means that
possible variations of the input are greatly reduced.  Compression
makes that assumption go wrong.

For this reason, I would never, ever encrypt without compressing first.
This is the cryptographic advise I would like to see in the indicated place.

Cheers,
 -Rick