[langsec-discuss] delimited base64 file specification

Nils Dagsson Moskopp nils at dieweltistgarnichtso.net
Wed Mar 20 14:44:41 UTC 2013


Michael Ossmann <mike at ossmann.com> schrieb am Wed, 20 Mar 2013 08:17:58
-0600:

> On Wed, Mar 20, 2013 at 09:02:28AM +0000, lee hughes wrote:
> >
> > However if base64 is contains a zip or other archive format, then
> > the underlying zip would carry some of this information. :-)
> 
> That is a good suggestion.  Even ignoring benefits like integrity
> checking that many archive formats provide, it makes sense to compress
> delimited base64 files since they have been expanded by the encoding.

To give a sense of scale (reasoning DEFLATE is not problematic):

% curl -s http://www.cs.dartmouth.edu/~sergey/langsec/ | wc -c
5378

% curl -s http://www.cs.dartmouth.edu/~sergey/langsec/ | base64 | wc -c
7267

% curl -s http://www.cs.dartmouth.edu/~sergey/langsec/ | gzip --stdout
| wc -c
2301

% curl -s http://www.cs.dartmouth.edu/~sergey/langsec/ | base64 | gzip
--stdout | wc -c
3664

-- 
Nils Dagsson Moskopp // erlehmann
<http://dieweltistgarnichtso.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 230 bytes
Desc: not available
URL: <https://mail.langsec.org/pipermail/langsec-discuss/attachments/20130320/a6f3f34a/attachment.pgp>


More information about the langsec-discuss mailing list