Skip to main content

Partially Homomorphic Encryption library for Python

Project description

# 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.

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.0.tar.gz (19.2 kB view hashes)

Uploaded Source

Built Distribution

phe-1.0-py3-none-any.whl (22.3 kB view hashes)

Uploaded Python 3

Supported by

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