File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed
src/main/java/com/thealgorithms/ciphers Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change 261
261
<Match >
262
262
<Bug pattern =" SLS_SUSPICIOUS_LOOP_SEARCH" />
263
263
</Match >
264
- <Match >
265
- <Bug pattern =" SPP_TOSTRING_ON_STRING" />
266
- </Match >
267
264
<!-- find-sec-bugs -->
268
265
<Match >
269
266
<Bug pattern =" PREDICTABLE_RANDOM" />
Original file line number Diff line number Diff line change @@ -238,7 +238,7 @@ public String decrypt(String message) {
238
238
}
239
239
for (i = 0 ; i < l ; i += 64 ) {
240
240
String block = message .substring (i , i + 64 );
241
- String result = decryptBlock (block . toString () , subKeys );
241
+ String result = decryptBlock (block , subKeys );
242
242
byte [] res = new byte [8 ];
243
243
for (j = 0 ; j < 64 ; j += 8 ) {
244
244
res [j / 8 ] = (byte ) Integer .parseInt (result .substring (j , j + 8 ), 2 );
You can’t perform that action at this time.
0 commit comments