Skip to main content

Encrypted Control Library

Project description

header pic

ECLib

ECLib is an easy-to-use open-source homomorphic encryption library for encrypted control.

Supported encryption schemes

Requirements

Getting Started

  1. Install ECLib.

    pip install eclib

  2. Run example scripts.

Examples

  • elgamal.py

    Basics of ElGamal encryption.

  • dyn_elgamal.py

    Basics of Dynamic-key ElGamal encryption.

  • paillier.py

    Basics of Paillier encryption.

  • regev.py

    Basics of Regev (LWE) encryption.

  • gsw.py

    Basics of GSW encryption.

  • gsw_lwe.py

    Basics of GSW-LWE encryption.

  • state_feedback.py

    Comparison of plant inputs and states between unencrypted and encrypted state-feedback controls. To run this script, you must specify an encryption scheme for encrypting a state-feedback controller, e.g., python state_feedback.py elgamal.

  • pi.py

    Comparison of plant inputs and outputs between unencrypted and encrypted PI controls. Similar to state_feedback.py, you must specify an encryption scheme for encrypting a PI controller, e.g., python pi.py paillier.

License

MIT license

Author

Kaoru Teranishi

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

eclib-2.0.0.tar.gz (23.2 kB view hashes)

Uploaded Source

Built Distribution

eclib-2.0.0-py3-none-any.whl (30.2 kB view hashes)

Uploaded Python 3

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