### Question:
WXFileUtils { public static String md5(String template){ try { if(template == null){ return ""; } return md5(template.getBytes("UTF-8")); } catch (UnsupportedEncodingException e) { return ""; } }  static String loadFileOrAsset(String path, Context context); static String loadAsset(String path, Context context); static boolean saveFile(String path, byte[] content, Context context); static String md5(String  template); static String md5(byte[] bts); static String base64Md5(String  template); static String base64Md5(byte[] bts);  }### Answer:
@Test public void testMd5(){ Assert.assertEquals("77963b7a931377ad4ab5ad6a9cd718aa", WXFileUtils.md5("ddd")); Assert.assertEquals("d5Y7epMTd61Kta1qnNcYqg==", WXFileUtils.base64Md5("ddd")); }