User-defined functions and strategies – encryption, SQL authority, user authentication, shadow DB, distributed governance
In the following sections, you will learn how to configure data encryption, SQL parsing, SQL authority, user authentication, shadow DB, and distributed governance. We will follow the same format we used previously – that is, starting with the implementation, then looking at the extensible algorithms.
Data encryption
Data encryption is a way to ensure data security by data transformation. The Apache ShardingSphere data encryption feature provides significant extensibility, allowing you to extend the data encryption algorithm and query-assisted column data encryption algorithm based on the SPI mechanism.
Implementing your encryption algorithm
Let's begin:
- You can implement the
EncryptAlgorithm
interface using the following code:public final class NormalEncryptAlgorithmFixture implements EncryptAlgorithm<Object, String>...