1 Test generating an AES key using AES-CBC algorithm.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
7 error is: TypeError: AesKeyGenParams: length: Missing required property
8 error is: TypeError: AesKeyGenParams: length: Is not a number
9 error is: TypeError: AesKeyGenParams: length: Is not a number
10 PASS key.type is 'secret'
11 PASS key.extractable is true
12 PASS key.algorithm.name is 'AES-CBC'
13 PASS key.algorithm.length is 128
14 PASS key.usages is ['encrypt', 'decrypt']
15 PASS successfullyParsed is true