伺服器向客戶端返回時:
response.setContentType("text/json; charset=utf-8");
客戶端解碼時:
return new String(decrypt(hex2byte(data.getBytes()), PASSWORD_CRYPT_KEY.getBytes()), "UTF-8");
伺服器向客戶端返回時:
response.setContentType("text/json; charset=utf-8");
客戶端解碼時:
return new String(decrypt(hex2byte(data.getBytes()), PASSWORD_CRYPT_KEY.getBytes()), "UTF-8");