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/12/09 06:02:35 UTC
[shardingsphere] branch master updated: Update `脱敏` in encrypt chinese documents to `加密` and `decryption` in encrypt english documents to `encryption` (#22761)
This is an automated email from the ASF dual-hosted git repository.
zhaojinchao 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 8ea92c7a51c Update `脱敏` in encrypt chinese documents to `加密` and `decryption` in encrypt english documents to `encryption` (#22761)
8ea92c7a51c is described below
commit 8ea92c7a51ceb1a4d4a91a84f13f8bec17656887
Author: Zhengqiang Duan <du...@apache.org>
AuthorDate: Fri Dec 9 14:02:28 2022 +0800
Update `脱敏` in encrypt chinese documents to `加密` and `decryption` in encrypt english documents to `encryption` (#22761)
---
.../content/user-manual/shardingsphere-jdbc/java-api/rules/mix.cn.md | 4 ++--
.../content/user-manual/shardingsphere-jdbc/java-api/rules/mix.en.md | 4 ++--
.../user-manual/shardingsphere-jdbc/yaml-config/rules/mix.cn.md | 2 +-
.../user-manual/shardingsphere-jdbc/yaml-config/rules/mix.en.md | 2 +-
4 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/docs/document/content/user-manual/shardingsphere-jdbc/java-api/rules/mix.cn.md b/docs/document/content/user-manual/shardingsphere-jdbc/java-api/rules/mix.cn.md
index d1005dd7e0f..dded81a1049 100644
--- a/docs/document/content/user-manual/shardingsphere-jdbc/java-api/rules/mix.cn.md
+++ b/docs/document/content/user-manual/shardingsphere-jdbc/java-api/rules/mix.cn.md
@@ -5,7 +5,7 @@ weight = 9
## 背景信息
-ShardingSphere 涵盖了很多功能,例如,分库分片、读写分离、高可用、数据脱敏等。这些功能用户可以单独进行使用,也可以配合一起使用,下面是基于 JAVA API 的配置示例。
+ShardingSphere 涵盖了很多功能,例如,分库分片、读写分离、高可用、数据加密等。这些功能用户可以单独进行使用,也可以配合一起使用,下面是基于 JAVA API 的配置示例。
## 配置示例
@@ -71,7 +71,7 @@ private static Map<String, DatabaseDiscoveryHeartBeatConfiguration> createDiscov
return result;
}
-// 数据脱敏配置
+// 数据加密配置
public EncryptRuleConfiguration createEncryptRuleConfiguration() {
Properties props = new Properties();
props.setProperty("aes-key-value", "123456");
diff --git a/docs/document/content/user-manual/shardingsphere-jdbc/java-api/rules/mix.en.md b/docs/document/content/user-manual/shardingsphere-jdbc/java-api/rules/mix.en.md
index a8bfbd50af9..88a3f8aec19 100644
--- a/docs/document/content/user-manual/shardingsphere-jdbc/java-api/rules/mix.en.md
+++ b/docs/document/content/user-manual/shardingsphere-jdbc/java-api/rules/mix.en.md
@@ -5,7 +5,7 @@ weight = 9
## Background
-ShardingSphere provides a variety of features, such as data sharding, read/write splitting, high availability, and data decryption. These features can be used independently or in combination.
+ShardingSphere provides a variety of features, such as data sharding, read/write splitting, high availability, and data encryption. These features can be used independently or in combination.
Below, you will find the configuration samples based on JAVA API.
## Samples
@@ -72,7 +72,7 @@ private static Map<String, DatabaseDiscoveryHeartBeatConfiguration> createDiscov
return result;
}
-// Data decryption configuration
+// Data encryption configuration
public EncryptRuleConfiguration createEncryptRuleConfiguration() {
Properties props = new Properties();
props.setProperty("aes-key-value", "123456");
diff --git a/docs/document/content/user-manual/shardingsphere-jdbc/yaml-config/rules/mix.cn.md b/docs/document/content/user-manual/shardingsphere-jdbc/yaml-config/rules/mix.cn.md
index ef1555f78d7..ca290a7a5a1 100644
--- a/docs/document/content/user-manual/shardingsphere-jdbc/yaml-config/rules/mix.cn.md
+++ b/docs/document/content/user-manual/shardingsphere-jdbc/yaml-config/rules/mix.cn.md
@@ -5,7 +5,7 @@ weight = 9
## 背景信息
-ShardingSphere 涵盖了很多功能,例如,分库分片、读写分离、高可用、数据脱敏等。这些功能用户可以单独进行使用,也可以配合一起使用,下面是基于 YAML 的参数解释和配置示例。
+ShardingSphere 涵盖了很多功能,例如,分库分片、读写分离、高可用、数据加密等。这些功能用户可以单独进行使用,也可以配合一起使用,下面是基于 YAML 的参数解释和配置示例。
## 参数解释
diff --git a/docs/document/content/user-manual/shardingsphere-jdbc/yaml-config/rules/mix.en.md b/docs/document/content/user-manual/shardingsphere-jdbc/yaml-config/rules/mix.en.md
index ea0f35b163c..eab3a2e839d 100644
--- a/docs/document/content/user-manual/shardingsphere-jdbc/yaml-config/rules/mix.en.md
+++ b/docs/document/content/user-manual/shardingsphere-jdbc/yaml-config/rules/mix.en.md
@@ -5,7 +5,7 @@ weight = 9
## Background
-ShardingSphere provides a variety of features, such as data sharding, read/write splitting, high availability, and data decryption. These features can be used independently or in combination.
+ShardingSphere provides a variety of features, such as data sharding, read/write splitting, high availability, and data encryption. These features can be used independently or in combination.
Below, you will find the parameters' explanation and configuration samples based on YAML.
## Parameters