1
0
Fork 0
mirror of synced 2025-09-23 12:18:44 +00:00
ZoKrates/zokrates_cli/examples/sha256/binary/halfadd.code
2018-08-20 16:43:53 +02:00

7 lines
No EOL
123 B
Text

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