blob: f300b0f9760c01f06adf42882fe36045c7ba4597 [file] [log] [blame]
CONSOLE MESSAGE: AES-CBC and AES-CTR do not provide authentication by default, and implementing it manually can result in minor, but serious mistakes. We recommended using authenticated encryption like AES-GCM to protect against chosen-ciphertext attacks.
Test encrypting&decrypting using AES-CBC algorithm with a generated 256bit key
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Generating a key...
Encrypting...
PASS bytesToASCIIString(cipherText) is not "Hello, World!"
Decrypting...
PASS bytesToASCIIString(decryptedText) is plainText
PASS successfullyParsed is true
TEST COMPLETE