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 | 6 |
7 Importing AES-CBC key... | 7 Importing AES-CBC key... |
8 | 8 |
9 encrypt() with counter null... | 9 encrypt() with counter null... |
10 error is: TypeError: AesCtrParams: counter: Not a BufferSource | 10 error is: TypeError: AesCtrParams: counter: Not a BufferSource |
11 | 11 |
12 encrypt() without counter... | 12 encrypt() without counter... |
13 error is: TypeError: AesCtrParams: counter: Missing required property | 13 error is: TypeError: AesCtrParams: counter: Missing required property |
14 | 14 |
15 encrypt() without length... | 15 encrypt() without length... |
16 error is: TypeError: AesCtrParams: length: Missing required property | 16 error is: TypeError: AesCtrParams: length: Missing required property |
17 | 17 |
18 encrypt() with a length of 256... | 18 encrypt() with a length of 256... |
19 error is: TypeError: AesCtrParams: length: Outside of numeric range | 19 error is: TypeError: AesCtrParams: length: Outside of numeric range |
20 | 20 |
21 encrypt() with a length of -3... | 21 encrypt() with a length of -3... |
22 error is: TypeError: AesCtrParams: length: Outside of numeric range | 22 error is: TypeError: AesCtrParams: length: Outside of numeric range |
23 | 23 |
24 encrypt() with length that is Infinity... | 24 encrypt() with length that is Infinity... |
25 error is: TypeError: AesCtrParams: length: Outside of numeric range | 25 error is: TypeError: AesCtrParams: length: Outside of numeric range |
26 PASS successfullyParsed is true | 26 PASS successfullyParsed is true |
27 | 27 |
28 TEST COMPLETE | 28 TEST COMPLETE |
29 | 29 |
OLD | NEW |