Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: SHA-1 and MD5

15 Jan 2010   #1
aheyn

Windows 7 RC
 
 
SHA-1 and MD5

Hi All,

A while ago I installed HashTab (HashTab... is the coolest thing ever! - adds a tab "File Hashes" that then works out the CRC, MD5 and SHA-1 of the file), and have used it alot to compare files to make sure they are identical etc.

My question is - as I understand it, CRC -> MD5 -> SHA are more and more comprehensive in terms of hashing, and length etc (remember reading ages ago someone spoofed an MD5 hash or something). So the question is, if the SHA-1s matched on two files, then is it DEFINITE that the MD5s will also match up? I.e. I can just use the SHA-1 and not also need to check the MD5 or CRC.

Thanks!


Cheers
Andrew


My System SpecsSystem Spec
.
15 Jan 2010   #2
K3VL4R

Windows 7 Ultimate X64
 
 

Yes. They are the same file. You cannot change 1 bit of data on it without the hash changing as well. If you are ever in doubt, you could just check two or three of the hash formats for reassurance.
My System SpecsSystem Spec
15 Jan 2010   #3
antt

Windows 7 build 7100 x86
 
 

Both SHA-1 and MD5 can suffer from collisions, but in very rare cases. Check both the SHA-1 and the MD5 together, and you will know the file has not been tampered with.
My System SpecsSystem Spec
.

Reply

 SHA-1 and MD5




Thread Tools



Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 09:12.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App