Searched refs:createHmac (Results 1 - 5 of 5) sorted by relevance
/third_party/node/test/parallel/ |
H A D | test-crypto-hmac.js | 17 () => crypto.createHmac(null), 26 () => crypto.createHmac('sha256', 'key').digest({ 35 () => crypto.createHmac('sha1', null), 56 const hmac = crypto.createHmac(algo, keyWrapper(key)); 268 const str = crypto.createHmac(hash, rfc4231[i].key); 271 let actual = crypto.createHmac(hash, rfc4231[i].key) 410 crypto.createHmac('sha256', 'w00t').digest('ucs2'), 411 crypto.createHmac('sha256', 'w00t').digest().toString('ucs2')); 419 const h = crypto.createHmac('sha1', 'key').update('data'); 424 const h = crypto.createHmac('sha [all...] |
H A D | test-crypto-binary-default.js | 66 const hmacHash = crypto.createHmac('sha1', 'Node') 222 let result = crypto.createHmac(hash, testCase.key) 350 crypto.createHmac('md5', testCase.key) 359 crypto.createHmac('sha1', testCase.key)
|
H A D | test-crypto.js | 215 () => crypto.createHmac('sha256', 'a secret').update('0', 'hex'),
|
/third_party/node/test/common/ |
H A D | tls.js | 154 let hmac = crypto.createHmac(algo, secret); 159 hmac = crypto.createHmac(algo, secret); 169 hmac = crypto.createHmac(algo, secret);
|
/third_party/node/lib/ |
H A D | crypto.js | 164 function createHmac(hmac, key, options) { function 186 createHmac,
|
Completed in 3 milliseconds