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