title: Convert MD5 array to String java
body: <p>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.<br>
  I'm currently using MessageDigest, and I'm doing the following to get a string</p>
  
  <pre><code>sun.misc.BASE64Encoder().encode(messageDigest.digest())  
  </code></pre>
  
  <p>I guess there is some better way to do that.<br>
  Thanks in advance!</p>