Skip to content

Commit 4049ba3

Browse files
[pre-commit.ci lite] apply automatic fixes
1 parent c3adb26 commit 4049ba3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/main/java/org/owasp/wrongsecrets/challenges/docker/Challenge35.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@ private String decrypt(String ciphertext)
9797

9898
Cipher cipher = Cipher.getInstance("AES/CBC/PKCS5PADDING");
9999
cipher.init(Cipher.DECRYPT_MODE, skeySpec, iv);
100-
return new String(cipher.doFinal(Base64.decode(ciphertext.getBytes(StandardCharsets.UTF_8))), StandardCharsets.UTF_8);
100+
return new String(
101+
cipher.doFinal(Base64.decode(ciphertext.getBytes(StandardCharsets.UTF_8))),
102+
StandardCharsets.UTF_8);
101103
}
102104
}

0 commit comments

Comments
 (0)