0.0.2
The HMAC-based Key Derivation Function for node.js.
spec: https://tools.ietf.org/html/rfc5869
npm install hkdf
const HKDF = require('hkdf'); var hkdf = new HKDF('sha256', 'salt123', 'initialKeyingMaterial'); hkdf.derive('info', 42, function(key) { // key is a Buffer, that can be serialized however one desires console.log(key.toString('hex')); });
Apache License 2.0
版权所有:中国计算机学会技术支持:开源发展技术委员会 京ICP备13000930号-9 京公网安备 11010802032778号
node-hkdf
The HMAC-based Key Derivation Function for node.js.
spec: https://tools.ietf.org/html/rfc5869
install
use
license
Apache License 2.0