PyBra12
Python implementation of Brakerskis "Fully Homomorphic Encryption without Modulus Switching from Classical GapSVP".
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.
pipenv install
pipenv shell
python main.py
python main.py tests