1 Tests importKey/deriveBits for PBKDF2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 PASS tmpKey.type is "secret"
7 PASS typeof tmpKey.extractable is 'boolean'
8 PASS tmpKey.extractable is false
9 PASS tmpKey.algorithm.name is "PBKDF2"
10 PASS tmpKey.usages.join(',') is "deriveKey,deriveBits"
11 PASS: deriveBits should be [0c60c80f961f0e71f3a9b524af6012062fe037a6] and was
12 PASS derivedBits.byteLength is 0
13 PASS tmpKey.type is "secret"
14 PASS typeof tmpKey.extractable is 'boolean'
15 PASS tmpKey.extractable is false
16 PASS tmpKey.algorithm.name is "PBKDF2"
17 PASS tmpKey.usages.join(',') is "deriveKey,deriveBits"
18 PASS: deriveBits should be [ea6c014dc72d6f8ccd1ed92ace1d41f0d8de8957] and was
19 PASS derivedBits.byteLength is 0
20 PASS tmpKey.type is "secret"
21 PASS typeof tmpKey.extractable is 'boolean'
22 PASS tmpKey.extractable is false
23 PASS tmpKey.algorithm.name is "PBKDF2"
24 PASS tmpKey.usages.join(',') is "deriveKey,deriveBits"
25 PASS: deriveBits should be [4b007901b765489abead49d926f721d065a429c1] and was
26 PASS derivedBits.byteLength is 0
27 PASS tmpKey.type is "secret"
28 PASS typeof tmpKey.extractable is 'boolean'
29 PASS tmpKey.extractable is false
30 PASS tmpKey.algorithm.name is "PBKDF2"
31 PASS tmpKey.usages.join(',') is "deriveKey,deriveBits"
32 PASS: deriveBits should be [3d2eec4fe41c849b80c8d83662c0e44a8b291a964cf2f07038] and was
33 PASS derivedBits.byteLength is 0
34 PASS tmpKey.type is "secret"
35 PASS typeof tmpKey.extractable is 'boolean'
36 PASS tmpKey.extractable is false
37 PASS tmpKey.algorithm.name is "PBKDF2"
38 PASS tmpKey.usages.join(',') is "deriveKey,deriveBits"
39 PASS: deriveBits should be [56fa6aa75548099dcc37d7f03425e0c3] and was
40 PASS derivedBits.byteLength is 0
41 PASS successfullyParsed is true