Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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"
- Host: GitHub
- URL: https://github.com/pmuens/pyfv12
- Owner: pmuens
- Created: 2020-06-04T12:47:51.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-06-04T12:50:28.000Z (over 4 years ago)
- Last Synced: 2024-10-20T04:44:38.877Z (3 months ago)
- Topics: cryptography, homomorphic-encryption, lattice-based-crypto, learning-with-errors, lwe, ring-learning-with-errors, rlwe
- Language: Python
- Homepage:
- Size: 8.79 KB
- Stars: 20
- Watchers: 3
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
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`