Skip to main content

Encrypted Control Library

Project description

header pic

ECLib

This is a Python library for numerical simulation of encrypted control.

Encrypted control

Cybersecurity is a critical issue of networked control systems in a modern society. Encrypted control is a novel concept of control using cryptographic tools for secure computation, such as homomorphic encryption and secret sharing. ECLib helps researchers and students to implement their new idea of encrypted control using homomorphic encryption.

Supported encryption schemes

  • ElGamal [1]
  • Dynamic-key ElGamal [2]
  • Paillier [3]
  • Regev (LWE) [4]
  • GSW [5]
  • GSW-LWE [6]

Installation

Run pip command on your terminal.

pip install eclib

Usage

See tutorial_slide_1.pdf, tutorial_slide_2.pdf, and example codes.

License

BSD License 2.0

Author

Kaoru Teranishi

References

[1] T. Elgamal, "A public key cryptosystem and a signature scheme based on discrete logarithms," IEEE Transactions on Information Theory, vol. 31, no. 4, pp. 469–472, 1985.

[2] K. Teranishi, T. Sadamoto, A. Chakrabortty, and K. Kogiso, "Designing optimal key lengths and control laws for encrypted control systems based on sample identifying complexity and deciphering time," IEEE Transactions on Automatic Control (Early access)

[3] P. Paillier, "Public-key cryptosystems based on composite degree residuosity classes," in International Conference on Theory and Application of Cryptographic Techniques, 1999, pp. 223–238.

[4] O. Regev, "On lattices, learning with errors, random linear codes, and cryptography," Journal of the ACM, vol. 56, no. 6, pp. 1-40, 2009.

[5] C. Gentry, A. Sahai, and B. Waters, "Homomorphic encryption from learning with errors: Conceptually-simpler, asymptotically-faster, attribute-based," Cryptology ePrint Archive, Paper 2013/340, 2013.

[6] J. Kim, H. Shim, and K. Han, "Dynamic controller that operates over homomorphically encrypted data for infinite time horizon," IEEE Transactions on Automatic Control, vol. 68, no. 2, pp. 660–672, 2023.

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-1.5.4.tar.gz (20.3 kB view hashes)

Uploaded Source

Built Distribution

eclib-1.5.4-py3-none-any.whl (22.7 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