Home
last modified time | relevance | path

Searched refs:createHmac (Results 1 – 14 of 14) sorted by relevance

/third_party/node/test/parallel/
Dtest-crypto-hmac.js17 () => crypto.createHmac(null),
26 () => crypto.createHmac('sha256', 'key').digest({
35 () => crypto.createHmac('sha1', null),
58 const hmac = crypto.createHmac(algo, keyWrapper(key));
270 const str = crypto.createHmac(hash, rfc4231[i].key);
273 let actual = crypto.createHmac(hash, rfc4231[i].key)
412 crypto.createHmac('sha256', 'w00t').digest('ucs2'),
413 crypto.createHmac('sha256', 'w00t').digest().toString('ucs2'));
421 const h = crypto.createHmac('sha1', 'key').update('data');
426 const h = crypto.createHmac('sha1', 'key').update('data');
[all …]
Dtest-crypto-binary-default.js66 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)
Dtest-crypto-update-encoding.js16 const hmac = () => crypto.createHmac('sha256', key);
Dtest-crypto.js199 () => crypto.createHmac('sha256', 'a secret').update('0', 'hex'),
/third_party/node/deps/npm/node_modules/http-signature/lib/
Dverify.js62 var hmac = crypto.createHmac(hashAlg, secret);
72 var h1 = crypto.createHmac(hashAlg, secret);
75 var h2 = crypto.createHmac(hashAlg, secret);
Dsigner.js73 this.rs_signer = crypto.createHmac(alg[1].toUpperCase(), options.key);
355 var hmac = crypto.createHmac(alg[1].toUpperCase(), options.key);
/third_party/node/test/common/
Dtls.js154 let hmac = crypto.createHmac(algo, secret);
159 hmac = crypto.createHmac(algo, secret);
169 hmac = crypto.createHmac(algo, secret);
/third_party/node/lib/
Dcrypto.js145 function createHmac(hmac, key, options) { function
165 createHmac, property
/third_party/node/deps/npm/node_modules/aws-sign2/
Dindex.js72 return crypto.createHmac('sha1', options.secret).update(options.message).digest('base64')
/third_party/node/deps/npm/node_modules/request/lib/
Dhawk.js41 var hmac = crypto.createHmac(credentials.algorithm, credentials.key).update(normalized)
/third_party/node/deps/npm/node_modules/oauth-sign/
Dindex.js4 return crypto.createHmac(algorithm, key).update(body).digest('base64')
/third_party/node/deps/npm/node_modules/aws4/
Daws4.js11 return crypto.createHmac('sha256', key).update(string, 'utf8').digest(encoding)
/third_party/node/deps/npm/node_modules/got/
Dreadme.md271 …hash_function: (baseString, key) => crypto.createHmac('sha1', key).update(baseString).digest('base…
/third_party/node/doc/api/
Dcrypto.md18 const hash = crypto.createHmac('sha256', secret)
1136 The [`crypto.createHmac()`][] method is used to create `Hmac` instances. `Hmac`
1143 const hmac = crypto.createHmac('sha256', 'a secret');
1165 const hmac = crypto.createHmac('sha256', 'a secret');
1175 const hmac = crypto.createHmac('sha256', 'a secret');
1967 ### `crypto.createHmac(algorithm, key[, options])`
2000 const hmac = crypto.createHmac('sha256', 'a secret');
3623 [`crypto.createHmac()`]: #crypto_crypto_createhmac_algorithm_key_options