Skip to main content

Partially Homomorphic Encryption library for Python

Project description

release

master

develop

Latest released version on PyPi

CI status of Master

CI status of develop

Requirements Status of master

Requirements Status of develop

Documentation Status

Documentation Status

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.

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.1.tar.gz (20.3 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.1-py3-none-any.whl (24.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for phe-1.1.tar.gz
Algorithm Hash digest
SHA256 f35733a759b5e5e89ea6ba4814b056cd2964834ea5b58ab9a2b3f31144f3865f
MD5 2e04cbe1b04fa5198a8f89fd57838453
BLAKE2b-256 9e11432c7a49828a0627ffbfdcfa5d2a6d7693adba56a2e1dbfdc8dac947881d

See more details on using hashes here.

File details

Details for the file phe-1.1-py3-none-any.whl.

File metadata

  • Download URL: phe-1.1-py3-none-any.whl
  • Upload date:
  • Size: 24.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for phe-1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 13ad48056aa6e0b872715d5e823a4e78d7919a78a8eca4bfe043ba2e1f0996d4
MD5 30acc58459c4e24ca36166c7d66bb0da
BLAKE2b-256 6a7e4921e410b6187029d73cf652284a8c822955a702cc6334192fe7c16e8e6c

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