What happens if some file hashes match but others don't?

Discussion in 'Newbie Lounge' started by Newbie12, Dec 17, 2017.

  1. Newbie12

    Newbie12 Member

    Joined:
    Jul 22, 2015
    Messages:
    148
    Location:
    Perth, WA
    Is the file still good or not? Here's an example of a file I recently discovered that I had hashed way back:

    MD5 : 7cc59e1e6919f19e219b4df8c8ecebb2
    SHA1 : a73a320dc52f656a4ac96cf4209871a11de6873c
    CRC32 : cda5ebc7
    SHA-256 : 41fdb625d913a70db4d958f4bc9dd711a6b10fb9190cf4e021144fac69bd4c60
    SHA-512 : ec904aada498d46d152f8287ac25ac1e92ba98969bdf852207d4d8a007777f19e63327e786b0ca29fbb80dafdb1f41c4860081d9657d5228f1011ce19451e666
    SHA-384 : ce4686d435aaf9871e198423187f51a384d586fe430fa9c8287a01addbb936ced4d353a95c8fe8da3e9cefeb89d38b25

    MD5 : 7cc59e1e6919f19e219b4df8c8ecebb2
    SHA1 : a73a320dc52f656a4ac96cf4209871a11de6873c
    CRC32 : cda5ebc7
    SHA-256 : 41fdb625d913a70db4d958f4bc9dd711a6b10fb9190cf4e021144fac69bd4c60
    SHA-512 : b935dfc203114318ee5ad2f9915ae352d2a98e5c962bbcc19f26e6f030f0218e36eb51aa03b6d37c04ac4f03b1824652b1a2c92e1d74848bd7e62eefa45aa525
    SHA-384 : 87b95a901fe478fa832b11cbb002beb373030915961576b90bf63901e96e934298220827d3c17c4479162d722dc08e02

    The MD5, SHA1, CRC32 and SHA256 match up, but the latter hashes do not, SHA512 and SHA384. Does that mean the file is now different to what it was before when I original hashed it or still the same file, just so happens that latter hashes are no longer the same? Or is the file now to be assumed altered in some way, whether that be from transferring or kept in storage and is now lost its integrity?
     
  2. Menthu_Rae

    Menthu_Rae Member

    Joined:
    Mar 19, 2002
    Messages:
    6,874
    Location:
    Northern Beaches, Sydney
    I am not an expert - but I don't see how this is even possible? What program(s) are you using to generate your hashes?
     
  3. theSeekerr

    theSeekerr Member

    Joined:
    Jan 19, 2010
    Messages:
    3,553
    Location:
    Broadview SA
    Ditto. As far as I know SHA-256 is still uncompromised, so if those match the file hasn't changed, but I can't think of a plausible explanation for the two hashes which don't match unless you the tool you're using has changed its algorithm or something dumb like that.
     
  4. OP
    OP
    Newbie12

    Newbie12 Member

    Joined:
    Jul 22, 2015
    Messages:
    148
    Location:
    Perth, WA
    ...well apparently it is possible, I am proof of that......

    I am using Nirsoft's HashMyFiles....

    EDIT:
    Even if changing their algorithm to get the result, the result should be exactly the same regardless if the file hasn't been tempered with....is this not true?
     
    Last edited: Dec 18, 2017
  5. koopz

    koopz Member

    Joined:
    Dec 27, 2001
    Messages:
    2,132
    Location:
    Qld
    pretty much nothing i find ;)
     
  6. OP
    OP
    Newbie12

    Newbie12 Member

    Joined:
    Jul 22, 2015
    Messages:
    148
    Location:
    Perth, WA
    uhhh okay...
     

Share This Page

Advertisement: