Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I was wondering, as it is theoretically possible to have duplicate MD5 hashes, are there any known examples of this, or is it all just theoretical?

share|improve this question
1  
sha512sum is now available. However, even it has collisions out there somewhere, just less likely to hit one. –  cybernard Feb 18 at 1:43

1 Answer 1

up vote 3 down vote accepted

The shortest one I know of is below. Collisions do happen and it's something that needs to be taken into consideration when using hashing. Every hash function will have a shelf life MD5 is near it's end of life, Personally only use it for verifying file integrity it's no longer a secure method for storing information just validating it.

Input vector 1:1

0000000    d1  31  dd  02  c5  e6  ee  c4  69  3d  9a  06  98  af  f9  5c
0000020    2f  ca  b5  87  12  46  7e  ab  40  04  58  3e  b8  fb  7f  89
0000040    55  ad  34  06  09  f4  b3  02  83  e4  88  83  25  71  41  5a
0000060    08  51  25  e8  f7  cd  c9  9f  d9  1d  bd  f2  80  37  3c  5b
0000100    d8  82  3e  31  56  34  8f  5b  ae  6d  ac  d4  36  c9  19  c6
0000120    dd  53  e2  b4  87  da  03  fd  02  39  63  06  d2  48  cd  a0
0000140    e9  9f  33  42  0f  57  7e  e8  ce  54  b6  70  80  a8  0d  1e
0000160    c6  98  21  bc  b6  a8  83  93  96  f9  65  2b  6f  f7  2a  70

Input vector 2:

0000000    d1  31  dd  02  c5  e6  ee  c4  69  3d  9a  06  98  af  f9  5c
0000020    2f  ca  b5  07  12  46  7e  ab  40  04  58  3e  b8  fb  7f  89
0000040    55  ad  34  06  09  f4  b3  02  83  e4  88  83  25  f1  41  5a
0000060    08  51  25  e8  f7  cd  c9  9f  d9  1d  bd  72  80  37  3c  5b
0000100    d8  82  3e  31  56  34  8f  5b  ae  6d  ac  d4  36  c9  19  c6
0000120    dd  53  e2  34  87  da  03  fd  02  39  63  06  d2  48  cd  a0
0000140    e9  9f  33  42  0f  57  7e  e8  ce  54  b6  70  80  28  0d  1e
0000160    c6  98  21  bc  b6  a8  83  93  96  f9  65  ab  6f  f7  2a  70

Digest:

79054025255fb1a26e4bc422aef54eb4

-A real MD5 collision

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.