Metadata-Version: 2.0
Name: phe
Version: 1.0
Summary: Partially Homomorphic Encryption library for Python
Home-page: https://github.com/NICTA/python-paillier
Author: National ICT Australia
Author-email: brian.thorne@nicta.com.au
License: GPLv3
Download-URL: https://github.com/NICTA/python-paillier/tarball/1.0
Keywords: cryptography encryption homomorphic
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Natural Language :: English
Classifier: Topic :: Scientific/Engineering :: Mathematics
Classifier: Topic :: Security
Classifier: Topic :: Security :: Cryptography
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Requires-Dist: gmpy2

# pyphe

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.

[![Documentation Status](https://readthedocs.org/projects/python-paillier/badge/?version=latest)](https://readthedocs.org/projects/python-paillier/?badge=latest)
[![Build Status](https://travis-ci.org/NICTA/python-paillier.svg?branch=master)](https://travis-ci.org/NICTA/python-paillier)
[![Requirements Status](https://requires.io/github/NICTA/python-paillier/requirements.svg?branch=master)](https://requires.io/github/NICTA/python-paillier/requirements/?branch=master)


## Running unit tests

    python3 setup.py test

## Code History

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.


