Closed qingyang-id closed 9 months ago
I want use it to generate sha3-256 hash, what should i do?below is realization of the package futoin-hkdf
const hkdf = new Hkdf.Hkdf('sha3-256'); const masterPrk =hkdf.extract('aaa', 'bbb'); const secretKey =hkdf.expand(masterPrk, 'ccc', 32);
Please check usage.
I want use it to generate sha3-256 hash, what should i do?below is realization of the package futoin-hkdf
const hkdf = new Hkdf.Hkdf('sha3-256'); const masterPrk =hkdf.extract('aaa', 'bbb'); const secretKey =hkdf.expand(masterPrk, 'ccc', 32);