mirror of
https://github.com/QuilibriumNetwork/ceremonyclient.git
synced 2026-03-02 23:07:33 +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
|
|
}
|