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

Function Example_or1

lib/dedis/kyber/proof/proof_test.go:181–185  ·  view source on GitHub ↗

This code creates an Or predicate indicating that the prover either knows a secret x such that X=x*B, or the prover knows a secret y such that Y=y*B. This predicate in essence proves knowledge of the private key for one of two public keys X or Y, without revealing which key the prover owns.

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

OrFunction · 0.85
RepFunction · 0.85
StringMethod · 0.65

Tested by

no test coverage detected