Skip to content

Commit ea7f3bc

Browse files
fix: V-001 security vulnerability
Automated security fix generated by Orbis Security AI
1 parent b3e31b5 commit ea7f3bc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/com/thealgorithms/ciphers/AESEncryption.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public static void main(String[] args) throws Exception {
3838
System.out.println("Original Text:" + plainText);
3939
System.out.println("AES Key (Hex Form):" + bytesToHex(secKey.getEncoded()));
4040
System.out.println("Encrypted Text (Hex Form):" + bytesToHex(cipherText));
41-
System.out.println("Descrypted Text:" + decryptedText);
41+
System.out.println("Decryption successful. Decrypted text matches original: " + decryptedText.equals(plainText));
4242
}
4343

4444
/**

0 commit comments

Comments
 (0)