1
0
Fork 0
mirror of synced 2025-09-23 12:18:44 +00:00
ZoKrates/zokrates_cli/examples/sha256/binary/andxorandxorand.code
2018-08-13 13:33:05 +02:00

7 lines
No EOL
143 B
Text

// ANDXORANDXORAND
import "./xor.code" as XOR
import "./and.code" as AND
def main(a, b, c):
return XOR(XOR(AND(a, b), AND(a, c)), AND(b, c))