kdf
kdf(
hashFunction,Zbuffer,keydatalen,SharedInfo,crypto?):Promise<ArrayBuffer>
ANS X9.63 Key Derivation Function
Parameters
Section titled “Parameters”hashFunction
Section titled “hashFunction”string
Used hash function
Zbuffer
Section titled “Zbuffer”ArrayBuffer
ArrayBuffer containing ECDH shared secret to derive from
keydatalen
Section titled “keydatalen”number
Length (!!! in BITS !!!) of used kew derivation function
SharedInfo
Section titled “SharedInfo”ArrayBuffer
Usually DER encoded “ECC_CMS_SharedInfo” structure
crypto?
Section titled “crypto?”ICryptoEngine = ...
Crypto engine
Returns
Section titled “Returns”Promise<ArrayBuffer>