diff --git a/spotbugs-exclude.xml b/spotbugs-exclude.xml index ffccae63..32a12926 100644 --- a/spotbugs-exclude.xml +++ b/spotbugs-exclude.xml @@ -261,9 +261,6 @@ - - - diff --git a/src/main/java/com/thealgorithms/ciphers/DES.java b/src/main/java/com/thealgorithms/ciphers/DES.java index 5d27ca67..4f92c18e 100644 --- a/src/main/java/com/thealgorithms/ciphers/DES.java +++ b/src/main/java/com/thealgorithms/ciphers/DES.java @@ -238,7 +238,7 @@ public class DES { } for (i = 0; i < l; i += 64) { String block = message.substring(i, i + 64); - String result = decryptBlock(block.toString(), subKeys); + String result = decryptBlock(block, subKeys); byte[] res = new byte[8]; for (j = 0; j < 64; j += 8) { res[j / 8] = (byte) Integer.parseInt(result.substring(j, j + 8), 2);