Partially Homomorphic Encryption library for Python
A library for Partially Homomorphic Encryption in Python.
The homomorphic properties of the paillier crypto system are:
- Encrypted numbers can be multiplied by a non encrypted scalar.
- Encrypted numbers can be added together.
- Encrypted numbers can be added to non encrypted scalars.
Running unit tests
python setup.py test
Or use nose:
Developed at Data61.
Parts derived from the Apache licensed Google project: https://code.google.com/p/encrypted-bigquery-client/
This code has neither been written nor vetted by any sort of crypto expert. The crypto parts are mercifully short, however.
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size phe-1.1.2-py3-none-any.whl (25.0 kB)||File type Wheel||Python version 3.5||Upload date||Hashes View|