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/
Release files for phe 1.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| phe-1.5.0.tar.gz | 51.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| phe-1.5.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 105.0 kB
Release files / phe-1.5.0.tar.gz
| Download URL | phe-1.5.0.tar.gz |
|---|---|
| Size | 51.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
992fb7091d2427f0d9733946f8f350acdd4d1d012057f2aad364ba79f970339c
|
|
BLAKE2b-256 checksum How to use checksums |
81473efede484a4ca820f0f05c59f3daf60b560f3e397e1eb8df7b37b5657068
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.9.12
|
Release files / phe-1.5.0-py2.py3-none-any.whl
| Download URL | phe-1.5.0-py2.py3-none-any.whl |
|---|---|
| Size | 53.7 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
a0d0098e22474b3027cbc0b05e9de2290bc603f1728bf401f498abbdbe795391
|
|
BLAKE2b-256 checksum How to use checksums |
537c1c514f3e030ff69ee2a184fca3f1514c1d32653ca00869d884b4f981e564
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.9.12
|