Page 1 of 1

FileFingerprint Question

Posted: Wed Apr 22, 2020 11:22 am
by collectordave
I am using FileFingerprint to get the fingerprint of a zip file.

I then recreate the same zip file in the same way and use FileFingerprint again.

It gives me two different fingerprints?

Is this because of the two different times of creation?

Is there any way to get over this?

Tried with MD5 and CRC

Regards

CD

Re: FileFingerprint Question

Posted: Wed Apr 22, 2020 11:56 am
by BarryG
collectordave wrote:Is this because of the two different times of creation?
Possibly. I'm guessing it's more to do with the random encryption with each compression, though.

Re: FileFingerprint Question

Posted: Wed Apr 22, 2020 12:46 pm
by ar-s
Hello.
The problem is probably the way you use to create your zip file.
Any Code ?

Re: FileFingerprint Question

Posted: Wed Apr 22, 2020 2:48 pm
by NicTheQuick
As you can see the ZIP header contains some timestamps. I guess this is at least one part of your problem: https://en.wikipedia.org/wiki/Zip_(file ... ile_header
If you do not encrypt the ZIP file that should also not affect anything. Compression is deterministic.

Re: FileFingerprint Question

Posted: Thu Apr 23, 2020 2:08 pm
by percy_b
collectordave wrote:I am using FileFingerprint to get the fingerprint of a zip file.

I then recreate the same zip file in the same way and use FileFingerprint again.

It gives me two different fingerprints?

Is this because of the two different times of creation?

Is there any way to get over this?

Tried with MD5 and CRC

Regards

CD
I believe this is due to internal timestamp differences.

Sent from my LM-Q710.FG using Tapatalk