MCPcopy Create free account
hub / github.com/Mnexa-AI/e2a / hmacHexSHA256

Function hmacHexSHA256

internal/agent/limits_api.go:104–108  ·  view source on GitHub ↗
(key, body []byte)

Source from the content-addressed store, hash-verified

102}
103
104func hmacHexSHA256(key, body []byte) string {
105 h := hmac.New(sha256.New, key)
106 h.Write(body)
107 return hex.EncodeToString(h.Sum(nil))
108}
109

Callers 1

Calls 1

WriteMethod · 0.45

Tested by

no test coverage detected