Skip to main content

No project description provided

Project description

HEtools

License Verson

Homomorphic encryption (Brakerski and Vaikuntanathan (2014) doi:10.1137/120868669) using Ring Learning with Errors (Lyubashevsky et al. (2012) https://eprint.iacr.org/2012/230) is a form of Learning with Errors (Regev (2005) doi:10.1145/1060590.1060603) using polynomial rings over finite fields. Functions to generate the required polynomials (using 'polynom'), with various distributions of coefficients are provided. Additionally, functions to generate and take coefficient modulo are provided.

Installation

You can install HEtools using

pip install HEtools

Example

This is a basic example which shows you how to solve a common problem:

import HEtools
from numpy.polynomial import Polynomial

p = Polynomial((9,8,13))
coefmod(p,2)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

HEtools-0.5.0-py3-none-any.whl (2.1 kB view details)

Uploaded Python 3

File details

Details for the file HEtools-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: HEtools-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 2.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for HEtools-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8e9a74201bcf673993808cd62bf7fec85ea38fd67fdf5c0abdc816d7b2ea3ba8
MD5 64ab93a289c13b649e557936d34f84a4
BLAKE2b-256 4f7596d603638a0d360c4a1a0dc6d7df4c731bc4615f1d168c64312d0fdc2dc7

See more details on using hashes here.

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