Multi Commander Support Forum
File Managment For Professionals
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
MultiCommander v14.2 is released!
Home
Help
Search
Login
Register
Multi Commander Support Forum
»
Multi Commander
»
Support and Feedback
»
MD5 calculation
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: MD5 calculation (Read 14415 times)
Suncatcher
Active Member
Posts: 104
MD5 calculation
«
on:
November 08, 2016, 18:19:34 »
Does
Create MD5 checksums file
in
File Checksum
menu use filename-dependent hash-function?
I tried it on technically similar files (which have different names) and it calculated different checksums for them.
I assume, MD5 should behave other way.
Logged
Mathias (Author)
Administrator
VIP Member
Posts: 4491
Re: MD5 calculation
«
Reply #1 on:
November 08, 2016, 18:26:07 »
Filename make no difference. the hash is built on the file content.
It is used to verify that files are identical and have not changed.
Logged
Suncatcher
Active Member
Posts: 104
Re: MD5 calculation
«
Reply #2 on:
November 08, 2016, 19:10:17 »
Quote
Filename make no difference
However, I get contradictory statements about this in the web. They say
it depends on the MD5 implementation
, and which implementation is used by MC?
I also tried CertUtil command utility by MS and it also gave me different checksums.
Logged
Mathias (Author)
Administrator
VIP Member
Posts: 4491
Re: MD5 calculation
«
Reply #3 on:
November 08, 2016, 22:15:09 »
No. The hash is built on the content.. The filename does not matter. it is not used when calculating the hash.
MD5 is just an algorithm to calculate a hash. checksum files are using it for matching content.
You can calculate the hash of the filename if you want. But it is pointless for checksum files
«
Last Edit: November 08, 2016, 22:17:51 by Mathias (Author)
»
Logged
Suncatcher
Active Member
Posts: 104
Re: MD5 calculation
«
Reply #4 on:
November 09, 2016, 13:45:19 »
Yeah, that's it. Some of the contents were different.
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Multi Commander Support Forum
»
Multi Commander
»
Support and Feedback
»
MD5 calculation