3 ms·
Yes, there are three encryption keys. I think I know where your confusion is coming from. This _entire_ box is an encrypted AND gate. http://manishearth.githu
by Manishearth 11y ago
Yes, there are three encryption keys.
I think I know where your confusion is coming from.
This _entire_ box is an encrypted AND gate. http://manishearth.github.io/images/post/and-encr-xor.png http://manishearth.github.io/images/post/and-encr-xor.png .
The input wires outside the box are "encrypted inputs". They get internally decrypted via XOR and stuffed into a regular Joe AND gate. To create an encrypted input, we must encrypt a regular input, by XORing again (due to the inverse thing).
Similarly, the output wire outside the box is an encrypted output. The output of a regular Joe AND gate is encrypted internally (via XOR) to obtain this. To decrypt this encrypted output, we must similarly XOR again.
Does this address your confusion? Let me know if you need more explanation!
- kevinwang 11y agoYes, thank you! I was thinking of the inputs to the box as the unencrypted inputs, which the XOR gates in the box would encrypt, but now I see that it's the opposite. It wasn't clear to me from the post that the outputs and inputs from the encrypted-and-gate are both supposed to be encrypted, and it might not be clear to others either. Thanks for taking the time to explain!
- Manishearth 11y agoNo problem! I updated the post to be clearer about this.