1 Test deriving HKDF keys with deriveKey()
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 Derive an HKDF key from ECDH keys
7 PASS hkdfKey.algorithm.name is "HKDF"
8 PASS typeof hkdfKey.extractable is 'boolean'
9 PASS hkdfKey.extractable is true
10 PASS hkdfKey.usages.join(',') is "deriveKey,deriveBits"
12 Derive 128 bits from the HKDF key
13 PASS bytesToHexString(derivedBits) is "2afc8b03741413cd32a80dc9a8451be8"
14 PASS successfullyParsed is true