@dhanushka
With FHE, we can now:
Submit encrypted transactions
Attach encrypted metadata to smart contracts
Enable confidential voting, where only the outcome is public
This is a shift in how (decentralized) applications can be built.
FHE: How It Works
At the core of the FHE system are three keys:
Public Key
Used to encrypt data. This is the key users interact with when submitting information from the frontend. Anyone can use it to encrypt inputs before sending them on-chain.
Evaluation Key
This is the key that allows computation directly on encrypted data. No decryption is needed during computation.
Private Key
This key is the only thing that can decrypt the result of the computation. Whoever holds the private key can choose whether or not to reveal the output.