CipherUtil { public static String MD5Encode(String s) { byte[] b = s.getBytes(); return md5(b); } private  CipherUtil(); static String MD5Encode(String s); static byte[] MD5Bytes(byte[] v);  }
@Test public void MD5Encode() throws Exception { Assert.assertEquals("0cc175b9c0f1b6a831c399e269772661", CipherUtil.MD5Encode("a")); }