Metadata-Version: 2.4
Name: tno.mpc.encryption_schemes.utils
Version: 0.16.1
Summary: Generic utilities for implementing encryption schemes
Author-email: TNO PET Lab <petlab@tno.nl>
Maintainer-email: TNO PET Lab <petlab@tno.nl>
License: Apache License, Version 2.0
Project-URL: Homepage, https://pet.tno.nl/
Project-URL: Documentation, https://docs.pet.tno.nl/mpc/encryption_schemes/utils/0.16.1
Project-URL: Source, https://github.com/TNO-MPC/encryption_schemes.utils
Keywords: TNO,MPC,multi-party computation,encryption schemes,utils
Platform: any
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Information Technology
Classifier: Intended Audience :: Science/Research
Classifier: Typing :: Typed
Classifier: Topic :: Security :: Cryptography
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: packaging
Requires-Dist: sympy~=1.3
Provides-Extra: communication
Requires-Dist: tno.mpc.communication~=5.0; extra == "communication"
Provides-Extra: gmpy
Requires-Dist: gmpy2>=2.1.3; extra == "gmpy"
Requires-Dist: importlib_metadata<9,>=2.1; python_version < "3.10" and extra == "gmpy"
Provides-Extra: tests
Requires-Dist: numpy; extra == "tests"
Requires-Dist: pytest>=8.1; extra == "tests"
Requires-Dist: tno.mpc.encryption_schemes.utils[communication]; extra == "tests"
Dynamic: license-file

# TNO PET Lab - secure Multi-Party Computation (MPC) - Encryption Schemes - Utils

Useful functionality for implementing encryption schemes.

### PET Lab

The TNO PET Lab consists of generic software components, procedures, and functionalities developed and maintained on a regular basis to facilitate and aid in the development of PET solutions. The lab is a cross-project initiative allowing us to integrate and reuse previously developed PET functionalities to boost the development of new protocols and solutions.

The package `tno.mpc.encryption_schemes.utils` is part of the [TNO Python Toolbox](https://github.com/TNO-PET).

_Limitations in (end-)use: the content of this software package may solely be used for applications that comply with international export control laws._  
_This implementation of cryptographic software has not been audited. Use at your own risk._

## Documentation

Documentation of the `tno.mpc.encryption_schemes.utils` package can be found
[here](https://docs.pet.tno.nl/mpc/encryption_schemes/utils/0.16.1).

## Install

Easily install the `tno.mpc.encryption_schemes.utils` package using `pip`:

```console
$ python -m pip install tno.mpc.encryption_schemes.utils
```

_Note:_ If you are cloning the repository and wish to edit the source code, be
sure to install the package in editable mode:

```console
$ python -m pip install -e 'tno.mpc.encryption_schemes.utils'
```

If you wish to run the tests you can use:

```console
$ python -m pip install 'tno.mpc.encryption_schemes.utils[tests]'
```

_Note:_ A significant performance improvement can be achieved by installing the GMPY2 library.

```console
$ python -m pip install 'tno.mpc.encryption_schemes.utils[gmpy]'
```
