| OLD | NEW |
| (Empty) |
| 1 Tests bad algorithm inputs for AES-CTR | |
| 2 | |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
| 4 | |
| 5 | |
| 6 | |
| 7 Importing AES-CBC key... | |
| 8 | |
| 9 encrypt() with counter null... | |
| 10 error is: TypeError: AesCtrParams: counter: Not a BufferSource | |
| 11 | |
| 12 encrypt() without counter... | |
| 13 error is: TypeError: AesCtrParams: counter: Missing required property | |
| 14 | |
| 15 encrypt() without length... | |
| 16 error is: TypeError: AesCtrParams: length: Missing required property | |
| 17 | |
| 18 encrypt() with a length of 256... | |
| 19 error is: TypeError: AesCtrParams: length: Outside of numeric range | |
| 20 | |
| 21 encrypt() with a length of -3... | |
| 22 error is: TypeError: AesCtrParams: length: Outside of numeric range | |
| 23 | |
| 24 encrypt() with length that is Infinity... | |
| 25 error is: TypeError: AesCtrParams: length: Outside of numeric range | |
| 26 PASS successfullyParsed is true | |
| 27 | |
| 28 TEST COMPLETE | |
| 29 | |
| OLD | NEW |