Abstract
Networked control is to outsource computations of
physical devices to cloud servers in order to achieve
computational efficiency and higher performance.
However, it also introduces the risk of cyber-attacks,
as data that are transmitted and processed via public network are vulnerable to eavesdropping and manipulation by unauthorized third parties. Encrypted
control addresses this issue by employing homomorphic cryptosystems to perform control computations
over encrypted data without decryption1)~3). This ensures the confidentiality of all data throughout the
transmission and computation stages.
While significant theoretical advancements have
been made in encrypted control, applying it to realtime systems remains challenging, primarily due to
the high computational complexity of cryptosystems.
To ensure that all computations are completed within
the sampling period, results found in the literature
are typically limited to simple systems or compromise the level of security as a trade-off for reducing
the computational burden, as in Refs. 4), 5).
This issue could be relieved by utilizing some library implementations, such as Microsoft SEAL6)
,
HElib7), and Lattigo8); they support optimized implementations of Ring-Learning With Errors (LWE)
based cryptosystems9)~12), which are among the most
efficient and advanced homomorphic cryptosystem
available. However, such libraries often lack instructions for those without a strong cryptographic background, and thus, have not been actively used in the
field of encrypted control.
This paper aims to provide an accessible guideline for implementing Ring-LWE based encrypted
controllers using the Lattigo library which supports
an efficient implementation of state-of-the-art homomorphic cryptosystems. In particular, we focus on
the implementations of the encrypted controllers presented in Ref. 13) and Ref. 14). We briefly review
each result, and provide some example codes, fully
available at: https://github.com/CDSL-Encrypted
Control/CDSL, to assist our explanations.
The remainder of this paper is organized as follows.
Section 2 briefly introduces Ring-LWE based cryptosystems. Sections 3 and 4 provide code-based explanations on implementing the encrypted controllers
presented in Ref. 13) and Ref. 14), respectively. Section 5 concludes the paper.
physical devices to cloud servers in order to achieve
computational efficiency and higher performance.
However, it also introduces the risk of cyber-attacks,
as data that are transmitted and processed via public network are vulnerable to eavesdropping and manipulation by unauthorized third parties. Encrypted
control addresses this issue by employing homomorphic cryptosystems to perform control computations
over encrypted data without decryption1)~3). This ensures the confidentiality of all data throughout the
transmission and computation stages.
While significant theoretical advancements have
been made in encrypted control, applying it to realtime systems remains challenging, primarily due to
the high computational complexity of cryptosystems.
To ensure that all computations are completed within
the sampling period, results found in the literature
are typically limited to simple systems or compromise the level of security as a trade-off for reducing
the computational burden, as in Refs. 4), 5).
This issue could be relieved by utilizing some library implementations, such as Microsoft SEAL6)
,
HElib7), and Lattigo8); they support optimized implementations of Ring-Learning With Errors (LWE)
based cryptosystems9)~12), which are among the most
efficient and advanced homomorphic cryptosystem
available. However, such libraries often lack instructions for those without a strong cryptographic background, and thus, have not been actively used in the
field of encrypted control.
This paper aims to provide an accessible guideline for implementing Ring-LWE based encrypted
controllers using the Lattigo library which supports
an efficient implementation of state-of-the-art homomorphic cryptosystems. In particular, we focus on
the implementations of the encrypted controllers presented in Ref. 13) and Ref. 14). We briefly review
each result, and provide some example codes, fully
available at: https://github.com/CDSL-Encrypted
Control/CDSL, to assist our explanations.
The remainder of this paper is organized as follows.
Section 2 briefly introduces Ring-LWE based cryptosystems. Sections 3 and 4 provide code-based explanations on implementing the encrypted controllers
presented in Ref. 13) and Ref. 14), respectively. Section 5 concludes the paper.
| Original language | English |
|---|---|
| Pages (from-to) | 248-254 |
| Number of pages | 7 |
| Journal | Journal of The Society of Instrument and Control Engineers |
| Volume | 64 |
| Issue number | 4 |
| DOIs | |
| State | Published - Apr 2025 |
Keywords
- encrypted control
- Ring-LWE (Ring-Learning With Error
- Networked Control System
Fingerprint
Dive into the research topics of 'Documentation on encrypted dynamic control simulation code using ring-LWE based cryptosystems'. Together they form a unique fingerprint.Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver