openethereum / parity-ethereum

The fast, light, and robust client for Ethereum-like networks.
Other
6.81k stars 1.68k forks source link

Homomorphic encryption in smart contracts #11452

Closed jon-chuang closed 4 years ago

jon-chuang commented 4 years ago

What are plans to support homomorphic encryption in smart contracts? This could enable outsourced computing on secret data, including data that has been stored on the blockchain. The public keys can also be stored on the blockchain.

Having worked with Microsoft's SEAL, I have some knowledge of how to implement certain variants of HE, so this could be an interesting project. In particular, arithmetic operations over the integers and fixed point arithmetic have efficient instantiations that could be practical for certain purposes (secure accounting, data processing, simple machine learning models) etc.

For some idea of efficiency, neural networks operating on MNIST have been evaluated with a throughput of 2959 img/s, albeit on 112 cores (see: ngraph-HE2). That's still ~25-30 img/s per core.

ordian commented 4 years ago

@jon-chuang I'm not sure this is the right repository for this discussion, the one you probably want is https://github.com/ethereum/EIPs.

rakita commented 4 years ago

Seems resolved