1. Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

md5 testing fail big and small letter difference?

Discussion in 'General Software' started by puma99dk|, Jun 30, 2012.

  1. puma99dk|

    puma99dk|

    Joined:
    Aug 29, 2005
    Messages:
    3,485 (1.03/day)
    Thanks Received:
    790
    i downloaded a mkv test file and it's md5 file and when i checked with Exact File 1.0.0.15 Beta it failed, than i decided to make the md5 myself and it's the same just with small letters not big as in the md5 can that really be corrupted file or just my checking program that files?

    Code:
    md5 (that came with the file):	B8B0EE60F76BE1D67DC946C963686796
    
    md5 (i made with Exact File): 	b8b0ee60f76be1d67dc946c963686796
    when i look they r exactly the same, but can big and small letters really cause the md5 to fail? :wtf:
     
  2. FordGT90Concept

    FordGT90Concept "I go fast!1!11!1!"

    Joined:
    Oct 13, 2008
    Messages:
    14,096 (6.24/day)
    Thanks Received:
    3,915
    Location:
    IA, USA
    MD5 hashes only has 16 values per digit (0,1,2,3,4,5,6,7,8,9,a,b,c,d,e,f). They are case insensitive.

    If you really want to make sure it is a match, download the trial of Hex Workshop from Breakingpoint Software, go to Tools -> Compare -> Compare Files and do a resync compare of the files. If it doesn't say the result is completely matched, they aren't identical. It can generate MD5s, SHA-1, CRC, etc. hashes too ("Generate Checksum" option).


    If a program compares the string case sensitively, they don't match. If they compare case insensitively, they do. Here's the hex...
    Code:
    B8B0EE60F76BE1D67DC946C963686796 = 42:38:42:30:45:45:36:30:46:37:36:42:45:31:44:36:37:44:43:39:34:36:43:39:36:33:36:38:36:37:39:36
    b8b0ee60f76be1d67dc946c963686796 = 62:38:62:30:65:65:36:30:66:37:36:62:65:31:64:36:37:64:63:39:34:36:63:39:36:33:36:38:36:37:39:36
    42 is obviously not equal to 62. If it were case insensitive, they would equal.
     
    Last edited: Jun 30, 2012
    Crunching for Team TPU
  3. puma99dk|

    puma99dk|

    Joined:
    Aug 29, 2005
    Messages:
    3,485 (1.03/day)
    Thanks Received:
    790
    oki, so can u tell me why Exact File says fail and QuickSFV just says "FAILED. Could not find related SFV file" and there was only a md5 with it.

    well not gonna go that deep just wondering if it was the difference between big and small letters that did the difference ^^
     
  4. FordGT90Concept

    FordGT90Concept "I go fast!1!11!1!"

    Joined:
    Oct 13, 2008
    Messages:
    14,096 (6.24/day)
    Thanks Received:
    3,915
    Location:
    IA, USA
    Edited my post.

    I don't bother with SFV files and I don't know why anyone does. The transmission protocol itself is supposed to take care of that.
     
    Crunching for Team TPU

Currently Active Users Viewing This Thread: 1 (0 members and 1 guest)

Share This Page