Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@
<module name="MethodParamPad"/>
<!-- TODO <module name="NoWhitespaceAfter"/> -->
<module name="NoWhitespaceBefore"/>
<!-- TODO <module name="OperatorWrap"/> -->
<module name="OperatorWrap"/>
<!-- TODO <module name="ParenPad"/> -->
<module name="TypecastParenPad"/>
<module name="WhitespaceAfter"/>
Expand Down
8 changes: 4 additions & 4 deletions src/main/java/com/thealgorithms/ciphers/AES.java
Original file line number Diff line number Diff line change
Expand Up @@ -2756,8 +2756,8 @@ public static void main(String[] args) {
in = input.nextLine();
BigInteger encryptionKey = new BigInteger(in, 16);
System.out.println(
"The encrypted message is: \n" +
encrypt(plaintext, encryptionKey).toString(16)
"The encrypted message is: \n"
+ encrypt(plaintext, encryptionKey).toString(16)
);
}
case 'D', 'd' -> {
Expand All @@ -2772,8 +2772,8 @@ public static void main(String[] args) {
in = input.nextLine();
BigInteger decryptionKey = new BigInteger(in, 16);
System.out.println(
"The deciphered message is:\n" +
decrypt(ciphertext, decryptionKey).toString(16)
"The deciphered message is:\n"
+ decrypt(ciphertext, decryptionKey).toString(16)
);
}
default -> System.out.println("** End **");
Expand Down