Encrypted Control Library
Project description
ECLib
ECLib is an easy-to-use open-source homomorphic encryption library for encrypted control.
Supported encryption schemes
Requirements
Getting Started
-
Install ECLib.
pip install eclib
-
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
- E-mail: teranishi (at) utexas.edu
- Homepage: https://kaoruteranishi.xyz
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.