HEtools


NameHEtools JSON
Version 0.5.0 PyPI version JSON
download
home_page
Summary
upload_time2023-11-19 17:11:56
maintainer
docs_urlNone
authorBastiaan Quast
requires_python
license
keywords homomorphic encryption fhe cryptography coefmod modulo coefficient modulo polynomial
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # HEtools

[![License](https://img.shields.io/badge/license-GPLv3-brightgreen.svg)](https://www.gnu.org/licenses/gpl-3.0.html)
[![Verson](https://img.shields.io/pypi/v/HEtools.svg)](https://pypi.org/project/HEtools/)


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:

``` python
import HEtools
from numpy.polynomial import Polynomial

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

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "HEtools",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "homomorphic encryption,FHE,cryptography,coefmod,modulo,coefficient modulo,polynomial",
    "author": "Bastiaan Quast",
    "author_email": "<bquast@gmail.com>",
    "download_url": "",
    "platform": null,
    "description": "# HEtools\n\n[![License](https://img.shields.io/badge/license-GPLv3-brightgreen.svg)](https://www.gnu.org/licenses/gpl-3.0.html)\n[![Verson](https://img.shields.io/pypi/v/HEtools.svg)](https://pypi.org/project/HEtools/)\n\n\nHomomorphic 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.\n\n## Installation\n\nYou can install HEtools using\n\n```\npip install HEtools\n```\n\n\n## Example\n\nThis is a basic example which shows you how to solve a common problem:\n\n``` python\nimport HEtools\nfrom numpy.polynomial import Polynomial\n\np = Polynomial((9,8,13))\ncoefmod(p,2)\n```\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "",
    "version": "0.5.0",
    "project_urls": null,
    "split_keywords": [
        "homomorphic encryption",
        "fhe",
        "cryptography",
        "coefmod",
        "modulo",
        "coefficient modulo",
        "polynomial"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4f7596d603638a0d360c4a1a0dc6d7df4c731bc4615f1d168c64312d0fdc2dc7",
                "md5": "64ab93a289c13b649e557936d34f84a4",
                "sha256": "8e9a74201bcf673993808cd62bf7fec85ea38fd67fdf5c0abdc816d7b2ea3ba8"
            },
            "downloads": -1,
            "filename": "HEtools-0.5.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "64ab93a289c13b649e557936d34f84a4",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 2145,
            "upload_time": "2023-11-19T17:11:56",
            "upload_time_iso_8601": "2023-11-19T17:11:56.145597Z",
            "url": "https://files.pythonhosted.org/packages/4f/75/96d603638a0d360c4a1a0dc6d7df4c731bc4615f1d168c64312d0fdc2dc7/HEtools-0.5.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-11-19 17:11:56",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "hetools"
}
        
Elapsed time: 0.13783s