You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by du...@apache.org on 2022/05/24 11:31:37 UTC

[shardingsphere] branch master updated: Fix encrypt doc. (#17917)

This is an automated email from the ASF dual-hosted git repository.

duanzhengqiang 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 c442854283f Fix encrypt doc. (#17917)
c442854283f is described below

commit c442854283f3934c43dcd0eca242938d51e542cd
Author: Chuxin Chen <ch...@qq.com>
AuthorDate: Tue May 24 19:31:31 2022 +0800

    Fix encrypt doc. (#17917)
    
    * Fix encrypt doc.
    
    * Fix encrypt doc.
---
 docs/document/content/reference/encrypt/_index.cn.md | 2 +-
 docs/document/content/reference/encrypt/_index.en.md | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/document/content/reference/encrypt/_index.cn.md b/docs/document/content/reference/encrypt/_index.cn.md
index f232555f5cf..67519253c48 100644
--- a/docs/document/content/reference/encrypt/_index.cn.md
+++ b/docs/document/content/reference/encrypt/_index.cn.md
@@ -209,7 +209,7 @@ Apache ShardingSphere 提供了两种加密算法用于数据加密,这两种
 在用户进行 `INSERT`,`DELETE`,`UPDATE` 时,ShardingSphere会按照用户配置,对SQL进行解析、改写、路由,并调用 `encrypt()` 将数据加密后存储到数据库, 
 而在 `SELECT` 时,则调用 `decrypt()` 方法将从数据库中取出的加密数据进行逆向解密,最终将原始数据返回给用户。
 
-当前,Apache ShardingSphere 针对这种类型的加密解决方案提供了三种具体实现类,分别是 MD5(不可逆),AES(可逆),RC4(可逆),用户只需配置即可使用这三种内置的方案。
+当前,Apache ShardingSphere 针对这种类型的加密解决方案提供了五种具体实现类,分别是 MD5(不可逆),AES(可逆),RC4(可逆),SM3(不可逆),SM4(可逆),用户只需配置即可使用这五种内置的方案。
 
 ### QueryAssistedEncryptAlgorithm
 
diff --git a/docs/document/content/reference/encrypt/_index.en.md b/docs/document/content/reference/encrypt/_index.en.md
index d4496e78846..c837c683800 100644
--- a/docs/document/content/reference/encrypt/_index.en.md
+++ b/docs/document/content/reference/encrypt/_index.en.md
@@ -262,7 +262,7 @@ The solution has provided two methods `encrypt()` and `decrypt()` to encrypt/dec
 When users `INSERT`, `DELETE` and `UPDATE`, ShardingSphere will parse, rewrite and route SQL according to the configuration. It will also use `encrypt()` to encrypt data and store them in the database. When using `SELECT`, 
 they will decrypt sensitive data from the database with `decrypt()` reversely and return them to users at last.
 
-Currently, Apache ShardingSphere has provided three types of implementations for this kind of encrypt solution, MD5 (irreversible), AES (reversible) and RC4 (reversible), which can be used after configuration.
+Currently, Apache ShardingSphere has provided five types of implementations for this kind of encrypt solution, MD5 (irreversible), AES (reversible), RC4 (reversible), SM3 (irreversible) and SM4 (reversible), which can be used after configuration.
 
 ### QueryAssistedEncryptAlgorithm