OLD | NEW |
1 Tests bad algorithm inputs for AES-GCM | 1 Tests bad algorithm inputs for AES-GCM |
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-GCM key... | 7 Importing AES-GCM key... |
8 | 8 |
9 encrypt() without iv... | 9 encrypt() without iv... |
10 error is: TypeError: AesGcmParams: iv: Missing required property | 10 error is: TypeError: AesGcmParams: iv: Missing required property |
(...skipping 18 matching lines...) Expand all Loading... |
29 | 29 |
30 encrypt() with tagLength that is 0... | 30 encrypt() with tagLength that is 0... |
31 error is: OperationError: The tag length is invalid: Must be 32, 64, 96, 104, 11
2, 120, or 128 bits | 31 error is: OperationError: The tag length is invalid: Must be 32, 64, 96, 104, 11
2, 120, or 128 bits |
32 | 32 |
33 encrypt() with tagLength that is 130... | 33 encrypt() with tagLength that is 130... |
34 error is: OperationError: The tag length is invalid: Must be 32, 64, 96, 104, 11
2, 120, or 128 bits | 34 error is: OperationError: The tag length is invalid: Must be 32, 64, 96, 104, 11
2, 120, or 128 bits |
35 PASS successfullyParsed is true | 35 PASS successfullyParsed is true |
36 | 36 |
37 TEST COMPLETE | 37 TEST COMPLETE |
38 | 38 |
OLD | NEW |