Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/nodejs/node
/ hmacDigest
Function
hmacDigest
test/parallel/test-crypto-keyobject-clone-transfer.js:81–83 ·
view source on GitHub ↗
(key)
Source
from the content-addressed store, hash-verified
79
}
80
81
function
hmacDigest(key) {
82
return
createHmac(
'sha256'
, key).update(
'payload'
).digest(
'hex'
);
83
}
84
85
(
async
() => {
86
const
secret = createSecretKey(Buffer.alloc(16));
Callers
1
test-crypto-keyobject-clone-transfer.js
File · 0.85
Calls
2
createHmac
Function · 0.85
update
Method · 0.65
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…