PyFV12
Python implementation of Fan and Vercauterens "Somewhat Practical Fully Homomorphic Encryption".
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