Table 4 Toffoli Gate.

From: DynBlock: dynamic data encryption with Toffoli gate for IoT

A

B

C

Output

0

0

0

0

0

0

1

1

0

1

0

0

0

1

1

1

1

0

0

0

1

0

1

1

1

1

0

1

1

1

1

0