PySyft icon indicating copy to clipboard operation
PySyft copied to clipboard

Implement FV Homomorphic Encryption from Scratch

Open youben11 opened this issue 6 years ago • 10 comments

FV (Fan-Vercauteren) Homomorphic Encryption is one of the leading approaches to homomorphic encryption. While current work is under way within our community to wrap the SEAL homomorphic encryption library, this will have limited portability. However, algorithms which are natively implemented in PySyft can be automatically run across Python, GPUs, Javascript, Android (Kotlin), and iOS (Swift). Thus, it is very advantageous for us to re-implement FV encryption from scratch.

The goal of this project will be to create a new tensor type which allows one to leverage FV to perform encrypted tensor operations.

Context

I will be mentoring this project as part of the Google Summer of Code

Required Skills:

  • Knowledge of PyTorch and Deep Learning
  • Familiarity (or willingness to become familiar) with PySyft
  • Ability to either implement the FV algorithm from the paper, or ability to port an existing C++ implementation (there are many)

Difficulty: Advanced

While the API aspects of this project are not complex (we have straightforward instructions for how to implement new tensor types), the FV algorithm is non-trivial.

youben11 avatar Feb 25 '20 19:02 youben11

Hi @youben11 I would like to work on this!

imskr avatar Feb 29 '20 12:02 imskr

Hi @imskr ! Feel free to ask questions on the #gsoc channel or DM me on slack.

You can also comment here for any detail regarding the project.

youben11 avatar Feb 29 '20 16:02 youben11

Hi @youben11 I am Vineet Jain, a final year undergraduate student at IIT Kharagpur. I had experience in DL, TensorFlow, PyTorch, and PySyft. I had done my past summer internship in Federated Learning Project(where I had implemented FL on Raspberry pi's (as clients' server) using PySyft ) where I had used PySyft, Tensorflow federated learning, and Tensorflow Federated Core. I am interested in the PySyft projects. I would like to work on this.

vineetjai avatar Mar 05 '20 17:03 vineetjai

@youben11 is the port result can be rust code which is compiled to wasm?

hskang9 avatar Mar 08 '20 16:03 hskang9

@hskang9 the project should be implemented in Python.

youben11 avatar Mar 08 '20 16:03 youben11

ok thank you @youben11

hskang9 avatar Mar 12 '20 11:03 hskang9

Hi @youben11, I believe this project is available for GSoC, I know I'm a little late but I would like to ask if this one is already assigned, because I'm interested in working on this one.

KevinMathewT avatar Mar 20 '20 08:03 KevinMathewT

Hi @KevinMathewT, applications are still open for GSoC.

youben11 avatar Mar 20 '20 12:03 youben11

This issue has been marked stale because it has been open 30 days with no activity. Leave a comment or remove the stale label to unmark it. Otherwise, this will be closed in 7 days.

github-actions[bot] avatar May 24 '20 00:05 github-actions[bot]

This issue has been marked stale because it has been open 30 days with no activity. Leave a comment or remove the stale label to unmark it. Otherwise, this will be closed in 7 days.

github-actions[bot] avatar Jun 24 '20 00:06 github-actions[bot]