OLD | NEW |
| (Empty) |
1 Tests deriveKey() using ECDH to make AES keys | |
2 | |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
4 | |
5 | |
6 Importing the private key... | |
7 | |
8 Importing the public key... | |
9 | |
10 Deriving an AES 128 bit key... | |
11 | |
12 PASS key.type is "secret" | |
13 PASS typeof key.extractable is 'boolean' | |
14 PASS key.extractable is true | |
15 PASS key.algorithm.name is "AES-CBC" | |
16 PASS key.algorithm.length is 128 | |
17 PASS key.usages.join(',') is "encrypt" | |
18 PASS: Derived Bytes should be [0117d54d84379d0fd385be068455a77a] and was | |
19 Deriving an AES 256 bit key... | |
20 | |
21 PASS key.type is "secret" | |
22 PASS typeof key.extractable is 'boolean' | |
23 PASS key.extractable is true | |
24 PASS key.algorithm.name is "AES-CBC" | |
25 PASS key.algorithm.length is 256 | |
26 PASS key.usages.join(',') is "encrypt,decrypt" | |
27 PASS: Derived Bytes should be [0117d54d84379d0fd385be068455a77a5366ab534ff172ab0
a121f37d180dccd] and was | |
28 Deriving an AES 256 bit key... | |
29 | |
30 PASS key.type is "secret" | |
31 PASS typeof key.extractable is 'boolean' | |
32 PASS key.extractable is false | |
33 PASS key.algorithm.name is "AES-CBC" | |
34 PASS key.algorithm.length is 256 | |
35 PASS key.usages.join(',') is "decrypt" | |
36 PASS successfullyParsed is true | |
37 | |
38 TEST COMPLETE | |
39 | |
OLD | NEW |