Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

python-paillier |release|
===============

+---------------------+
| |travisM| |
+---------------------+
| |rtdM| |
+---------------------+
| |reqM| |
+---------------------+

A Python 3 library for 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.

Running unit tests
------------------

::

python setup.py test

Or use nose::

nosetests


Code History
------------

Developed at `Data61 | CSIRO <http://data61.csiro.au>`_.

Parts derived from the Apache licensed Google project:
https://code.google.com/p/encrypted-bigquery-client/

No audit
--------

This code has neither been written nor vetted by any sort of crypto
expert. The crypto parts are mercifully short, however.


.. |release| image:: https://img.shields.io/pypi/v/phe.svg
:target: https://pypi.python.org/pypi/phe/
:alt: Latest released version on PyPi

.. |travisM| image:: https://travis-ci.org/n1analytics/python-paillier.svg?branch=master
:target: https://travis-ci.org/n1analytics/python-paillier
:alt: CI status of Master

.. |reqM| image:: https://requires.io/github/n1analytics/python-paillier/requirements.svg?branch=master
:target: https://requires.io/github/n1analytics/python-paillier/requirements/?branch=master
:alt: Requirements Status of master

.. |rtdM| image:: https://readthedocs.org/projects/python-paillier/badge/?version=stable
:target: http://python-paillier.readthedocs.org/en/latest/?badge=stable
:alt: Documentation Status



Release files for phe 1.3.1.dev0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for phe 1.3.1.dev0
File Size Uploaded
phe-1.3.1.dev0.tar.gz 25.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for phe 1.3.1.dev0
File Interpreter ABI Platform
phe-1.3.1.dev0-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 57.2 kB

Release files / phe-1.3.1.dev0.tar.gz

Download URL phe-1.3.1.dev0.tar.gz
Size 25.3 kB
Tags Source
SHA-256 checksum
How to use checksums
a67117f5717336ee394396d757737ca180026d611c79821a67685fbd1c333760
BLAKE2b-256 checksum
How to use checksums
6a52f5bb9c5c7a398b836debbfafe55e454caa746d5b159ccf0816fe990d4ef0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / phe-1.3.1.dev0-py2.py3-none-any.whl

Download URL phe-1.3.1.dev0-py2.py3-none-any.whl
Size 32.0 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
a9fe75177e011e0f9fb038c5ef513e86ffe481b0081d13d6e7179886077f3969
BLAKE2b-256 checksum
How to use checksums
6995129b17c2d6dc2b7a9199d53bb84330e9a4160ad67e9b5332882e08cd1aa2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page