Click here to Skip to main content
15,892,537 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I want to compare images using Hash value using MD5 algorithm can anyone help me by giving some hints or source code ?

What I have tried:

I am trying in c++ but not getting any information about that..
Posted

I was able to get this piece of info at first Googling attempt: Example C Program: Creating an MD5 Hash from File Content (Windows)[^].
 
Share this answer
 
Comments
Patrice T 17-Feb-16 4:52am    
+5
CPallini 17-Feb-16 11:30am    
Thank you.
This site is "for those how code", here we help to solve specific problems in code you have already done.

As CPallini says, Starting with Google search gives you a lot of responses, always check before simply asking

The only kind of comparison you can expect by computing MD5 hash code of images is if images are identical or not.
Be aware that whatever the method you use, with hash values, you can have collisions, it is when 2 different images give the same hash value.
 
Share this answer
 
Comments
CPallini 17-Feb-16 11:31am    
My five, because you quoted such an authoritative source. :-D
Patrice T 17-Feb-16 13:22pm    
:) Thank you

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900