diff --git a/test/test_iaes256_cbc.py b/test/test_iaes256_cbc.py index 58fa69eeb7372a8f7da58eca443941c56140f3f4..396a7517a912511b8cba1a61ad7619b7644b07c5 100644 --- a/test/test_iaes256_cbc.py +++ b/test/test_iaes256_cbc.py @@ -17,7 +17,7 @@ decrypt = crypto.decryptIAES256CBCFast(key_id, enc, len(enc), 2048) print (decrypt) -if bytes(s, "utf-8") != decrypt: +if bytes(s, "utf-8") == decrypt: print ("TEST 1. Encode/Decode IAES256 CBC FAST done") else: print ("TEST 1. Encode/Decode IAES256 CBC FAST faild")