Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/pmuens/pybra12

Python implementation of "Fully Homomorphic Encryption without Modulus Switching from Classical GapSVP"
https://github.com/pmuens/pybra12

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

Last synced: 20 days ago
JSON representation

Python implementation of "Fully Homomorphic Encryption without Modulus Switching from Classical GapSVP"

Awesome Lists containing this project

README

        

# Py[Bra12](https://eprint.iacr.org/2012/078.pdf)

Python implementation of Brakerskis ["Fully Homomorphic Encryption without Modulus Switching from Classical GapSVP"](https://eprint.iacr.org/2012/078.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`