Skip to main content

Partially Homomorphic Encryption library for Python

Project description

CI status of Master

Documentation Status

Requirements Status of master

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.

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.4.0rc5.tar.gz (35.0 kB view hashes)

Uploaded Source

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