Re: Don Knuth - Uncompressable sequences
- From: Josiah Carlson <josiah.carlson@xxxxxxxxxxxxx>
- Date: Fri, 23 Mar 2007 15:46:57 GMT
tan_steve@xxxxxxxxx wrote:
Algorithmically, is it not possible that there exists an oracle, that
given a sha or other hash of the input sequence, can predict or
reconstruct the original sequence regardless of the length of the
original sequence?
No. There only exists 2^160 sha1 hashes. Under the assumption that it produces as few collisions as possible, you would only be able to identify the 2^160 unique 20 byte files. Even if you specified the length (and assuming that the sha1 hash was uniformly distributed), you would have 256 possible matches for a 21 byte file with a particular sha1 hash, 65536 for a 22 byte file, etc.
Despite what the internet says, Bruce Schneier does not see sha1 as an invertible compression algorithm. :)
- Josiah
.
- Follow-Ups:
- Re: Don Knuth - Uncompressable sequences
- From: byaarov
- Re: Don Knuth - Uncompressable sequences
- References:
- Don Knuth - Uncompressable sequences
- From: NickHolby
- Re: Don Knuth - Uncompressable sequences
- From: NickHolby
- Re: Don Knuth - Uncompressable sequences
- From: Matt Mahoney
- Re: Don Knuth - Uncompressable sequences
- From: tan_steve
- Don Knuth - Uncompressable sequences
- Prev by Date: Re: Don Knuth - Uncompressable sequences
- Next by Date: Quality factor and bits per pixel in JPEG
- Previous by thread: Re: Don Knuth - Uncompressable sequences
- Next by thread: Re: Don Knuth - Uncompressable sequences
- Index(es):
Relevant Pages
|