OLD | NEW |
1 Make sure that the usages of an AES key are respected | 1 Test calling AES-CBC encrypt with a HMAC key. |
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 error is: InvalidAccessError: key.usages does not permit this operation | 6 Importing a raw HMAC key from string literal... |
| 7 Using the key to encrypt plaintext... |
7 error is: InvalidAccessError: key.usages does not permit this operation | 8 error is: InvalidAccessError: key.usages does not permit this operation |
8 PASS successfullyParsed is true | 9 PASS successfullyParsed is true |
9 | 10 |
10 TEST COMPLETE | 11 TEST COMPLETE |
11 | 12 |
OLD | NEW |