Skip to main content

Partially Homomorphic Encryption library for Python

Project description

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

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

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::

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

.. |coverageM| image:: https://coveralls.io/repos/n1analytics/python-paillier/badge.svg?branch=master&service=github
:target: https://coveralls.io/github/n1analytics/python-paillier?branch=master

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

phe-1.3.0.tar.gz (26.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

phe-1.3.0-py2.py3-none-any.whl (30.2 kB view details)

Uploaded Python 2Python 3

File details

Details for the file phe-1.3.0.tar.gz.

File metadata

  • Download URL: phe-1.3.0.tar.gz
  • Upload date:
  • Size: 26.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for phe-1.3.0.tar.gz
Algorithm Hash digest
SHA256 62f52b824736381cd5027ee9dc70025bb7b1ed58695dc6710517739257a9d688
MD5 c714f73ce62afafbbeed907ddeff77e4
BLAKE2b-256 bd21bf45e27283fab9e42ed150069c7aa85ca488653c786e2a105a6e2f476bdf

See more details on using hashes here.

File details

Details for the file phe-1.3.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for phe-1.3.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 383f07ba52a86d759d2de153c6429cc4f020dd9223e561ef71f31b5bba45531f
MD5 719a2200458908db6b2f3991a4220c44
BLAKE2b-256 add64791d33847f7945fd454e5b2499dc6f299cb6008c1dc8524f409e534d812

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page