OLD | NEW |
1 Tests generateKey() with bad AES-CTR parameters. | 1 Tests generateKey() with bad AES-CTR parameters. |
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 generateKey() without length... | 7 generateKey() without length... |
8 error is: TypeError: AesKeyGenParams: length: Missing required property | 8 error is: TypeError: AesKeyGenParams: length: Missing required property |
9 | 9 |
10 generateKey() with a length of 70000... | 10 generateKey() with a length of 70000... |
11 error is: TypeError: AesKeyGenParams: length: Outside of numeric range | 11 error is: TypeError: AesKeyGenParams: length: Outside of numeric range |
12 | 12 |
13 generateKey() with a length of -3... | 13 generateKey() with a length of -3... |
14 error is: TypeError: AesKeyGenParams: length: Outside of numeric range | 14 error is: TypeError: AesKeyGenParams: length: Outside of numeric range |
15 | 15 |
16 generateKey() with length that is minus Infinity... | 16 generateKey() with length that is minus Infinity... |
17 error is: TypeError: AesKeyGenParams: length: Outside of numeric range | 17 error is: TypeError: AesKeyGenParams: length: Outside of numeric range |
18 PASS successfullyParsed is true | 18 PASS successfullyParsed is true |
19 | 19 |
20 TEST COMPLETE | 20 TEST COMPLETE |
21 | 21 |
OLD | NEW |