code: public static String encryptToMD5(String info) {
  		byte[] digesta = null;
  		try {
  			MessageDigest alga = MessageDigest.getInstance("MD5");
  			alga.update(info.getBytes());
  			digesta = alga.digest();
  		} catch (NoSuchAlgorithmException e) {
  			e.printStackTrace();
  		}
  		// to string
  		return byte2hex(digesta);
  	}
docs: 进行MD5加密
  @param info 要加密的信息
  @return String 加密后的字符串