MCPcopy Create free account
hub / github.com/corestoreio/pkg / WithHash

Function WithHash

net/signed/options.go:37–43  ·  view source on GitHub ↗

WithHash sets the hashing algorithm to create a new hash and verify an incoming hash. Please use only cryptographically secure hash algorithms.

(name string, key []byte, scopeIDs ...scope.TypeID)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

hashPoolInitMethod · 0.80
findScopedConfigMethod · 0.45
updateScopedConfigMethod · 0.45

Tested by

no test coverage detected