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/
Metadata
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 | Provenance | |
|---|---|---|---|---|
| phe-1.5.0.tar.gz | 51.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| phe-1.5.0-py2.py3-none-any.whl | Python 2, Python 3 | 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
|
Security for phe 1.5.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.