diff options
| author | doufenghu <[email protected]> | 2024-09-13 19:20:00 +0800 |
|---|---|---|
| committer | doufenghu <[email protected]> | 2024-09-13 19:20:00 +0800 |
| commit | 339c92a61b95156b8de292f0b8a50bfad5831c23 (patch) | |
| tree | 617d33998012bfb1f0e9a45ea79c856cf0a78d46 /docs/connector | |
| parent | 0527fc54a42ee17e03ee34afac606ae9f30f8657 (diff) | |
[Improve][Common] Rename ConfigShade to CryptoShade for better describe data encryption.
Diffstat (limited to 'docs/connector')
| -rw-r--r-- | docs/connector/config-encryption-decryption.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/connector/config-encryption-decryption.md b/docs/connector/config-encryption-decryption.md index c2b05f6..91ca80e 100644 --- a/docs/connector/config-encryption-decryption.md +++ b/docs/connector/config-encryption-decryption.md @@ -127,13 +127,13 @@ Next, I'll show how to quickly use groot-stream's own `aes` encryption: ## How to implement user-defined encryption and decryption -1. Create a new class and implement interface `ConfigShade`, this interface has the following methods: +1. Create a new class and implement interface `CryptoShade`, this interface has the following methods: ```java - public interface ConfigShade { + public interface CryptoShade { /** * The unique identifier of the current interface, used it to select the correct {@link - * ConfigShade} + * CryptoShade} */ String getIdentifier(); @@ -157,6 +157,6 @@ Next, I'll show how to quickly use groot-stream's own `aes` encryption: } } ``` -2. Add `com.geedgenetworks.common.config.ConfigShade` in `resources/META-INF/services` +2. Add `com.geedgenetworks.common.crypto.CryptoShade` in `resources/META-INF/services` 3. Change the option `shade.identifier` to the value that you defined in `ConfigShade#getIdentifier`of you config file. |
