FG

How to get 100% identical compressed files, for source files that only differ in creation date?

Fresh3 days ago
Mar 15, 20264193 views
Confidence Score0%
0%

Problem

I want to be able to compress a file losslessly, and if the original file is identical to another user's file, I want both of our compressed files to match, even if the original file dates are different. I want to use a maximum of 1GB of RAM while compressing. I'm leaning towards an asymmetric algo…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to get 100% identical compressed files, for source files that only differ in creation date?

Low Risk

Create a couple of identical files: gzip them... observe timestamp field as the only difference: For more info on the timestamp, see the RFC Now, you can either take an MD5 that starts after byte 8, zero these four bytes in your files and lose their…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment