I found this on github occasionally.
md5(text).equals(text)
Could this happen in common use?
MD5 is hash algorithm, with collisions. That means that there can be two strings X and Y with same hash.
But this seems incorrect. I'm no expert in hashing, but my gut feeling is, this will be always false.
There is some more info in the linked blog post and corresponding comments - http://elliottkember.com/kember_identity.html