17 lines
884 B
Plaintext
17 lines
884 B
Plaintext
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.
|
|
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
|
|
|