-
Notifications
You must be signed in to change notification settings - Fork 335
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fully homomorphic encryption circuits in Cardano... #415
Comments
AFAIK there is no desire to put such things on Cardano L1 but have you heard of project midnight? https://midnight.iohk.io/ |
I thought about Plutus to ensure smart contract interop. Otherwise smart contract integration may require lots of separate infrastructure, possibly a sidechain. |
@L-as Implementing it in Plutus would be definitely progress, but homomorphic encryption is infamously slow, so we will likely hit gas limit. |
@matiwinnetou Unfortunately project Midnight is fuzzy and unclear now. No capability has been released so far. We want to build the product now and release soon. |
@mgajda You split it up over multiple transactions. Depending on what you're doing, you could put the FHE into a SNARK? |
It is a great feature for a smart contract to compute without decrypting the inputs and outputs.
This allows verifying private data, and knowledge of these.
For this, we would need to enable running zero knowledge proofs, or FHE circuits in Plutus.
Easiest way to do it would be to import an existing HE circuit library, and provide a reasonable cost estimate.
Please note that FHE/zkSNARKs are relatively expensive to compute so implementing them directly in Plutus may lead to unfeasibly complex transactions.
The text was updated successfully, but these errors were encountered: