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 details)

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for phe-1.0.tar.gz
Algorithm Hash digest
SHA256 57ab36ed230cd1d0086ba4485e86eec62aad2d5bf19e0e379be1166958b145ae
MD5 d5890d00196ee90db5eef1a1b40927a4
BLAKE2b-256 c275be321927beb3eef8a6dbcf7c65232da3906eada55db05df35505d448c634

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for phe-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 357234cbf5d6e1adad5430a9d6afecce74a6dff1a4c66a2da2bfa4b2621e6dde
MD5 9ebdb39b5cb348c62ba49eb647e4746b
BLAKE2b-256 a85eb3cbd7e7103888ce9403408bfc07bd4b8bdd992a830af8db282a70a2f390

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