Reputation: 11
I have two md5 value
Both string value is same but generate different md5.
So, how to match both value is same? Because in Hash function i am using Hash::check function for this type of problem.
Upvotes: 0
Views: 298
Reputation: 1295
If the two strings generate different md5 values, they are different strings. Perhaps one has a slightly different character encoding, a different comma character, or something of that sort. But comparing the equality of the two hashes, is the same as comparing the equality of the base strings -- that's the whole point of md5 :)
Upvotes: 1