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

Function hmac

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

Source from the content-addressed store, hash-verified

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

Callers 1

SASLContinueFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected