Skip to content

Commit 763b95b

Browse files
fix: aesencryption in AESEncryption.java (#7392)
fix: V-001 security vulnerability Automated security fix generated by Orbis Security AI
1 parent 0ad5d90 commit 763b95b

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)