Partially Homomorphic Encryption library for Python
Project description
python-paillier
A Python 3 library implementing the Paillier Partially Homomorphic Encryption.
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.
Citing
python-paillier is designed, developed and supported by CSIRO’s Data61. If you use any part of this library in your research, please cite it using the following BibTex entry:
@misc{PythonPaillier, author = {CSIRO's Data61}, title = {Python Paillier Library}, year = {2013}, publisher = {GitHub}, journal = {GitHub Repository}, howpublished = {\url{https://github.com/data61/python-paillier}}, }
Running unit tests
python setup.py test
Or use nose:
nosetests
Code History
Developed at Data61 | CSIRO.
Parts derived from the Apache licensed Google project: https://code.google.com/p/encrypted-bigquery-client/
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file phe-1.5.0.tar.gz
.
File metadata
- Download URL: phe-1.5.0.tar.gz
- Upload date:
- Size: 51.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 992fb7091d2427f0d9733946f8f350acdd4d1d012057f2aad364ba79f970339c |
|
MD5 | 94f58ad347f9149e4f9a64678855a861 |
|
BLAKE2b-256 | 81473efede484a4ca820f0f05c59f3daf60b560f3e397e1eb8df7b37b5657068 |
File details
Details for the file phe-1.5.0-py2.py3-none-any.whl
.
File metadata
- Download URL: phe-1.5.0-py2.py3-none-any.whl
- Upload date:
- Size: 53.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0d0098e22474b3027cbc0b05e9de2290bc603f1728bf401f498abbdbe795391 |
|
MD5 | 86b8336a5aa688cdaf5aa1df699c3980 |
|
BLAKE2b-256 | 537c1c514f3e030ff69ee2a184fca3f1514c1d32653ca00869d884b4f981e564 |