QuackatronHQ / Gigarepo

Cipher does not support integrity verification JAVA-S1005
Security
Critical
5 days ago2 years old
ECB mode ciphers are less secure due to a lack of integrity checks
 51                StringBuffer sb = new StringBuffer();
 52                HttpClient hc = HttpClient.newBuilder().build();
 53                HttpRequest offerReq = HttpRequest.newBuilder(offerAPI).GET().build();
 54                Cipher ci = Cipher.getInstance("DES/ECB/PKCS5Padding"); 55
 56                HttpResponse<String> offerResp = hc.send(offerReq, HttpResponse.BodyHandlers.ofString());
 57