Hi In My application I need to calcluate the md5 Hash Value for a string value… for that I have called DigestUtils.md5Hex(String string) method… But it is not produced same result always for a same string… The result is inconsistent. In that md5Hex() method internally md5(string) called. That method returns the different byteArray values for a same string. I am not able to get what exactly happening? Please clarify the issue…
Hi In My application I need to calcluate the md5 Hash Value for a
Share
As you can guess, this is not possible. You are probably passing different strings, but you don’t know it. They may differ by a whitespace, for example, or some invisible character.