ceremonyclient/bedlam/apps/garbled/examples/3party.qcl
Cassandra Heart e51992f3e8
OT
2025-03-23 21:11:16 -05:00

10 lines
197 B
Go

// -*- go -*-
// Sample 3-party circuit where each party provides their input bit
// and the result is bitwise AND of the inputs.
package main
func main(a, b, e uint1) uint {
return a & b & e
}