public static String md5Hash(String string) throws NoSuchAlgorithmException {
  return md5Hash(string.getBytes(StandardCharsets.UTF_8));
}

public static String md5Hash ( String string ) throws NoSuchAlgorithmException { return md5Hash ( string . getBytes ( StandardCharsets . UTF_8 ) ) ; }
returns md5 hash of given string .
