mirror of
https://github.com/QuilibriumNetwork/ceremonyclient.git
synced 2026-02-21 18:37:26 +08:00
10 lines
197 B
Go
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
|
|
}
|