Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pmuens/pyfv12

Python implementation of "Somewhat Practical Fully Homomorphic Encryption"
https://github.com/pmuens/pyfv12

cryptography homomorphic-encryption lattice-based-crypto learning-with-errors lwe ring-learning-with-errors rlwe

Last synced: 26 days ago
JSON representation

Python implementation of "Somewhat Practical Fully Homomorphic Encryption"

Awesome Lists containing this project

README

        

# Py[FV12](https://eprint.iacr.org/2012/144.pdf)

Python implementation of Fan and Vercauterens ["Somewhat Practical Fully Homomorphic Encryption"](https://eprint.iacr.org/2012/144.pdf).

This implementation closely follows the paper. Theorems, Lemmas and Proofs were translated into tests. I avoided bit-shifting and other advanced techniques to keep the code as clean and comprehensible as possible.

**NOTE:** This implementation is for educational purposes only.

## Usage

1. `pipenv install`
1. `pipenv shell`
1. `python main.py`
1. `python main.py tests`