Skip to main content
Stack Overflow for Teams is now Stack Internal: See how we’re powering the human intelligence layer of enterprise AI. Read more >
specific title
Link
Peter Cordes
  • 376.6k
  • 50
  • 741
  • 1k

Can the relationinitial similarity between 2 files impact oncreate similarity in the start of their Deflate compressed output?

formatting
Source Link

Assuming we have 2 files:

FILE 1 Uncompressed size: 793765 bytes Compressed size: 604911 bytes Data type: 99% Base64 Compression method : deflate dynamic

  • Uncompressed size: 793765 bytes
  • Compressed size: 604911 bytes
  • Data type: 99% Base64
  • Compression method : deflate dynamic

FILE 2 Uncompressed size: 793765 bytes Compressed size: 604911 bytes Data type: 99% Base64 Compression method : deflate dynamic

  • Uncompressed size: 793765 bytes
  • Compressed size: 604911 bytes
  • Data type: 99% Base64
  • Compression method : deflate dynamic

The 2 files share 20 initial bytes in uncompressed data. What are the chances that the compressed data after the zip headers share 3 initial bytes.

I have came across 5 files with the above characteristics and 4 of thenthem had:

14 9A C7

and the other:

1C 9A C7

And i am confused of this.

If the above case is true then given the characteristics above one can easily guess the first bytes of the compressed file up 5 initial bytes.

Assuming we have 2 files:

FILE 1 Uncompressed size: 793765 bytes Compressed size: 604911 bytes Data type: 99% Base64 Compression method : deflate dynamic

FILE 2 Uncompressed size: 793765 bytes Compressed size: 604911 bytes Data type: 99% Base64 Compression method : deflate dynamic

The 2 files share 20 initial bytes in uncompressed data. What are the chances that the compressed data after the zip headers share 3 initial bytes.

I have came across 5 files with the above characteristics and 4 of then had:

14 9A C7

and the other:

1C 9A C7

And i am confused of this.

If the above case is true then given the characteristics above one can easily guess the first bytes of the compressed file up 5 initial bytes.

Assuming we have 2 files:

FILE 1

  • Uncompressed size: 793765 bytes
  • Compressed size: 604911 bytes
  • Data type: 99% Base64
  • Compression method : deflate dynamic

FILE 2

  • Uncompressed size: 793765 bytes
  • Compressed size: 604911 bytes
  • Data type: 99% Base64
  • Compression method : deflate dynamic

The 2 files share 20 initial bytes in uncompressed data. What are the chances that the compressed data after the zip headers share 3 initial bytes.

I have came across 5 files with the above characteristics and 4 of them had:

14 9A C7

and the other:

1C 9A C7

And i am confused of this.

If the above case is true then given the characteristics above one can easily guess the first bytes of the compressed file up 5 initial bytes.

Source Link

Can the relation between 2 files impact on their Deflate compressed output?

Assuming we have 2 files:

FILE 1 Uncompressed size: 793765 bytes Compressed size: 604911 bytes Data type: 99% Base64 Compression method : deflate dynamic

FILE 2 Uncompressed size: 793765 bytes Compressed size: 604911 bytes Data type: 99% Base64 Compression method : deflate dynamic

The 2 files share 20 initial bytes in uncompressed data. What are the chances that the compressed data after the zip headers share 3 initial bytes.

I have came across 5 files with the above characteristics and 4 of then had:

14 9A C7

and the other:

1C 9A C7

And i am confused of this.

If the above case is true then given the characteristics above one can easily guess the first bytes of the compressed file up 5 initial bytes.