blob: 889cd153f7188dd1e46f84aaa8c02c9b7b0353d7 [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-CTR 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!Hello, World!Hello, World!Hello, World!"
Decrypting...
PASS bytesToASCIIString(decryptedText) is plainText
PASS successfullyParsed is true
TEST COMPLETE