I know that there is a lot of similar topics, but still... can someone provide me a working example of method which generates MD5 String. I\'m currently using MessageDig
I'd use commons-codec
Base64.encodeBase64(digestBytes)
Hex.encodeHex(digestBytes)