FileFingerprint Question

Just starting out? Need help? Post your questions and find answers here.
collectordave
Addict
Addict
Posts: 1310
Joined: Fri Aug 28, 2015 6:10 pm
Location: Portugal

FileFingerprint Question

Post 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
Any intelligent fool can make things bigger and more complex. It takes a touch of genius — and a lot of courage to move in the opposite direction.
BarryG
Addict
Addict
Posts: 4123
Joined: Thu Apr 18, 2019 8:17 am

Re: FileFingerprint Question

Post 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.
User avatar
ar-s
Enthusiast
Enthusiast
Posts: 344
Joined: Sat Oct 06, 2007 11:20 pm
Location: France

Re: FileFingerprint Question

Post by ar-s »

Hello.
The problem is probably the way you use to create your zip file.
Any Code ?
~Ar-S~
My Image Hoster for PB users
My webSite (french) with PB apps : LDVMULTIMEDIA
PB - 3.x / 5.7x / 6 - W11 x64 - Ryzen 7 3700x / #Rpi4

Code: Select all

r3p347 : 7ry : un71l d0n3 = 1
User avatar
NicTheQuick
Addict
Addict
Posts: 1504
Joined: Sun Jun 22, 2003 7:43 pm
Location: Germany, Saarbrücken
Contact:

Re: FileFingerprint Question

Post 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.
The english grammar is freeware, you can use it freely - But it's not Open Source, i.e. you can not change it or publish it in altered way.
percy_b
User
User
Posts: 72
Joined: Mon Jan 12, 2015 10:25 am

Re: FileFingerprint Question

Post 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
Post Reply