Lines Matching refs:hmac

21     message: 'The "hmac" argument must be of type string. Received null'
56 const hmac = crypto.createHmac(algo, keyWrapper(key));
58 hmac.update(chunk);
59 const actual = hmac.digest('hex');
66 testHmac('sha1', 'Node', ['some data', 'to hmac'],
74 hmac: { // HMACs lifted from Wikipedia.
84 hmac: { // Intermediate test to help debugging.
94 hmac: { // Intermediate test to help debugging.
104 hmac: { // HMACs lifted from Wikipedia.
114 for (const { key, data, hmac } of wikipedia) {
115 for (const hash in hmac)
116 testHmac(hash, key, data, hmac[hash]);
124 hmac: {
142 hmac: {
161 hmac: {
181 hmac: {
200 hmac: {
219 hmac: {
250 hmac: {
267 for (const hash in rfc4231[i].hmac) {
278 const expected = rfc4231[i].hmac[hash];
298 hmac: '9294727a3638bb1c13f48ef8158bfc9d'
303 hmac: '750c783e6ab0b503eaa86e310a5db738'
310 hmac: '56be34521d144c88dbb8c733f0e8b3f6'
319 hmac: '697eaf0aca3a3aea3a75164746ffaa79'
324 hmac: '56461ef2342edc00f9bab995690efd4c'
333 hmac: '6b1ab7fe4bd7bf8f0b62e6ce61b9d0cd'
344 hmac: '6f630fad67cda0ee1fb1f562db3aa53e'
348 for (const { key, data, hmac } of rfc2202_md5)
349 testHmac('md5', key, data, hmac);
355 hmac: 'b617318655057264e28bc0b6fb378c8ef146be00'
360 hmac: 'effcdf6ae5eb2fa2d27416d5f184df9c259a7c79'
368 hmac: '125d7342b9ac11cd91a39af48aa17b4f63f175d3'
377 hmac: '4c9007f4026250c6bc8414f9bf50c86c2d7235da'
382 hmac: '4c1a03424b55e07fe7f27be1d58bb9324a9a5a04'
391 hmac: 'aa4ae5e15272d00e95705637ce8a3b55ed402112'
402 hmac: 'e8e99d0f45237d786d6bbaa7965c7808bbff1a91'
406 for (const { key, data, hmac } of rfc2202_sha1)
407 testHmac('sha1', key, data, hmac);