We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ad5d90 commit 763b95bCopy full SHA for 763b95b
1 file changed
src/main/java/com/thealgorithms/ciphers/AESEncryption.java
@@ -38,7 +38,7 @@ public static void main(String[] args) throws Exception {
38
System.out.println("Original Text:" + plainText);
39
System.out.println("AES Key (Hex Form):" + bytesToHex(secKey.getEncoded()));
40
System.out.println("Encrypted Text (Hex Form):" + bytesToHex(cipherText));
41
- System.out.println("Descrypted Text:" + decryptedText);
+ System.out.println("Decryption successful. Decrypted text matches original: " + decryptedText.equals(plainText));
42
}
43
44
/**
0 commit comments