QuackatronHQ / Gigarepo

Insecure encryption algorithm detected JAVA-S1012
Security
Critical
4 days ago2 years old
 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