You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by zh...@apache.org on 2022/07/16 15:30:50 UTC
[shardingsphere] branch master updated: Update encrypt.en.md (#19270)
This is an automated email from the ASF dual-hosted git repository.
zhangliang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/master by this push:
new 7211fdac5d5 Update encrypt.en.md (#19270)
7211fdac5d5 is described below
commit 7211fdac5d58a04b498496320a0e925c237cc4d0
Author: Swastika Gupta <64...@users.noreply.github.com>
AuthorDate: Sat Jul 16 21:00:43 2022 +0530
Update encrypt.en.md (#19270)
* Update encrypt.en.md
---
docs/document/content/dev-manual/encrypt.en.md | 28 ++++++++++++++------------
1 file changed, 15 insertions(+), 13 deletions(-)
diff --git a/docs/document/content/dev-manual/encrypt.en.md b/docs/document/content/dev-manual/encrypt.en.md
index 274b9dd8890..a7301b63af3 100644
--- a/docs/document/content/dev-manual/encrypt.en.md
+++ b/docs/document/content/dev-manual/encrypt.en.md
@@ -5,20 +5,22 @@ weight = 12
chapter = true
+++
-## SPI Interface
+## EncryptAlgorithm
-| SPI Name | Description |
-| ---------------- | ---------------------- |
-| EncryptAlgorithm | Data encrypt algorithm |
+### Fully-qualified class name
-## Sample
+[`org.apache.shardingsphere.encrypt.spi.EncryptAlgorithm`](https://github.com/apache/shardingsphere/blob/master/shardingsphere-features/shardingsphere-encrypt/shardingsphere-encrypt-api/src/main/java/org/apache/shardingsphere/encrypt/spi/EncryptAlgorithm.java)
-### EncryptAlgorithm
+### Definition
-| *Implementation Class* | *Description* |
-| ----------------------------- | -------------------------- |
-| MD5EncryptAlgorithm | MD5 data encrypt algorithm |
-| AESEncryptAlgorithm | AES data encrypt algorithm |
-| RC4EncryptAlgorithm | RC4 data encrypt algorithm |
-| SM3EncryptAlgorithm | SM3 data encrypt algorithm |
-| SM4EncryptAlgorithm | SM4 data encrypt algorithm |
+Data encryption algorithm definition
+
+### Implementation classes
+
+| *Configuration Type* | *Description* | *Fully-qualified class name* |
+| -------------------- | ----------------------------------------- | ---------------------------- |
+| MD5 | MD5 data encrypt algorithm | [`org.apache.shardingsphere.encryption.algorithm.MD5Encrypt`](https://github.com/apache/shardingsphere/blob/master/shardingsphere-features/shardingsphere-encrypt/shardingsphere-encrypt-core/src/main/java/org/apache/shardingsphere/encrypt/algorithm/MD5EncryptAlgorithm.java) |
+| AES | AES data encrypt algorithm | [`org.apache.shardingsphere.encryption.algorithm.AESEncrypt`](https://github.com/apache/shardingsphere/blob/master/shardingsphere-features/shardingsphere-encrypt/shardingsphere-encrypt-core/src/main/java/org/apache/shardingsphere/encrypt/algorithm/AESEncryptAlgorithm.java) |
+| RC4 | RC4 data encrypt algorithm | [`org.apache.shardingsphere.encryption.algorithm.RC4Encrypt`](https://github.com/apache/shardingsphere/blob/master/shardingsphere-features/shardingsphere-encrypt/shardingsphere-encrypt-core/src/main/java/org/apache/shardingsphere/encrypt/algorithm/RC4EncryptAlgorithm.java) |
+| SM3 | SM3 data encrypt algorithm | [`org.apache.shardingsphere.encryption.algorithm.SM3Encrypt`](https://github.com/apache/shardingsphere/blob/master/shardingsphere-features/shardingsphere-encrypt/shardingsphere-encrypt-plugin/shardingsphere-encrypt-sm/src/main/java/org/apache/shardingsphere/encrypt/sm/algorithm/SM3EncryptAlgorithm.java) |
+| SM4 | SM4 data encrypt algorithm | [`org.apache.shardingsphere.encryption.algorithm.SM4Encrypt`](https://github.com/apache/shardingsphere/blob/master/shardingsphere-features/shardingsphere-encrypt/shardingsphere-encrypt-plugin/shardingsphere-encrypt-sm/src/main/java/org/apache/shardingsphere/encrypt/sm/algorithm/SM4EncryptAlgorithm.java) |