Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/cameri/nostream
/ hmacSha256
Function
hmacSha256
src/utils/secret.ts:11–13 ·
view source on GitHub ↗
(secret: string | Buffer, data: string | Buffer)
Source
from the content-addressed store, hash-verified
9
}
10
11
export
function
hmacSha256(secret: string | Buffer, data: string | Buffer): Buffer {
12
return
createHmac(
'sha256'
, secret).update(data).digest()
13
}
Callers
10
opennode-callback.feature.ts
File · 0.90
makeBody
Function · 0.90
makeValidQuery
Function · 0.90
lnbits-callback-controller.spec.ts
File · 0.90
makeSignature
Function · 0.90
handleRequest
Method · 0.90
handleRequest
Method · 0.90
handleRequest
Method · 0.90
createInvoice
Method · 0.90
deriveFromSecret
Function · 0.85
Calls
no outgoing calls
Tested by
3
makeBody
Function · 0.72
makeValidQuery
Function · 0.72
makeSignature
Function · 0.72