MCPcopy Create free account
hub / github.com/DistributedML/Biscotti / GenCommitmentKey

Function GenCommitmentKey

vrf-reference/crypto/commitments/commitments.go:57–64  ·  view source on GitHub ↗

GenCommitmentKey generates a commitment key for use in Commit. This key must be kept secret in order to prevent an adversary from learning what data has been committed to by a commitment. To unseal and verify a commitment, provide this key, along with the data under commitment to the client. In Key

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

ReadMethod · 0.65

Tested by

no test coverage detected