OLD | NEW |
(Empty) | |
| 1 Tests crypto.subtle.encrypt() using a BufferSource that was neutered (prior to e
ncrypt()) |
| 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 |
| 5 |
| 6 Importing key... |
| 7 |
| 8 Encrypting empty plaintext (as a control group)... |
| 9 PASS: Encryption should be [c84af0b613435d5d9182801a9bd9320b] and was |
| 10 |
| 11 Creating ArrayBuffer... |
| 12 PASS plainText.byteLength is 1000 |
| 13 Neutering plainText... |
| 14 PASS plainText.byteLength is 0 |
| 15 |
| 16 Encrypting neutered plaintext... |
| 17 PASS: Encryption should be [c84af0b613435d5d9182801a9bd9320b] and was |
| 18 PASS successfullyParsed is true |
| 19 |
| 20 TEST COMPLETE |
| 21 |
OLD | NEW |