home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!swrinde!emory!cs.utk.edu!memstvx1!ujacampbe
- From: ujacampbe@memstvx1.memst.edu (James Campbell)
- Newsgroups: comp.compression
- Subject: DOWNRe: *** IMPORTANT *** new version of PKZIP is on its way.
- Message-ID: <1993Jan12.113758.4986@memstvx1.memst.edu>
- Date: 12 Jan 93 11:37:58 -0600
- References: <3577@accucx.cc.ruu.nl> <1993Jan11.210249.7579@wam.umd.edu> <7457@sersun1.essex.ac.uk>
- Organization: MSU Cryptologic Group
- Lines: 32
-
- In article <7457@sersun1.essex.ac.uk>, mossap@solb1.essex.ac.uk (Moss A D) writes:
- > Does anyone have a copy of the proof that any string can be compressed
- > down to 256 bits? Sounds like a crock to me, but I'd be interested in
- > seeing it.
- >
- > Thanks!
- >
- > Regards,
- > Adam Moss
- > <mossap@essex.ac.uk>
-
- (I'm assuming you're referring to lossless compression, since a lossy
- algorithm could compress a string down to any arbitrary length.)
-
- Intuitively, this is not possible. Consider that there are exactly 2^257
- strings of 256 bits or less (including the null string). Therefore, only
- 2^257 distinct strings could be thus compressed, at best. The numbers
- from 0 to 2^257, for example, could not all be represented into 256 bits
- or less. One would have to be left out, or its compressed version would
- be undifferentiable from that of at least one of the other numbers.
-
- I suppose one could argue that all the strings ever used by mankind don't
- add up to 2^256 strings, so a limited algorithm should be theoretically
- possible. May be, but the only way I could envision such an algorithm
- would be in the form of a lookup table containing _every_ string that was
- ever used. For those of us with finite disk space, this isn't a viable
- option :-). Besides, such a solution would be indexing, _not_ compression.
-
- --
- ===========================================================================
- James Campbell, Math Sciences Department, MSU; ujacampbe@memstvx1.memst.edu
- ---------------------------------------------------------------------------
-