MCPcopy Create free account
hub / github.com/porsager/postgres / hmac

Function hmac

cjs/src/connection.js:1026–1028  ·  view source on GitHub ↗
(key, x)

Source from the content-addressed store, hash-verified

1024}
1025
1026function hmac(key, x) {
1027 return crypto.createHmac('sha256', key).update(x).digest()
1028}
1029
1030function sha256(x) {
1031 return crypto.createHash('sha256').update(x).digest()

Callers 1

SASLContinueFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected