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 0a8bddda6b9 Delete the 'CHAR DIGEST LIKE' section in encrypt.md
(#30308)
0a8bddda6b9 is described below
commit 0a8bddda6b90bf95f9e6f5bc89a5c9db29f9646f
Author: LotusMoon <[email protected]>
AuthorDate: Tue Feb 27 11:41:08 2024 +0800
Delete the 'CHAR DIGEST LIKE' section in encrypt.md (#30308)
---
.../common-config/builtin-algorithm/encrypt.cn.md | 12 +++++++-----
.../common-config/builtin-algorithm/encrypt.en.md | 12 +++++++-----
2 files changed, 14 insertions(+), 10 deletions(-)
diff --git
a/docs/document/content/user-manual/common-config/builtin-algorithm/encrypt.cn.md
b/docs/document/content/user-manual/common-config/builtin-algorithm/encrypt.cn.md
index 68b5f19d7df..b28f71cf534 100644
---
a/docs/document/content/user-manual/common-config/builtin-algorithm/encrypt.cn.md
+++
b/docs/document/content/user-manual/common-config/builtin-algorithm/encrypt.cn.md
@@ -50,16 +50,18 @@ rules:
cipher:
name: username
encryptorName: name_encryptor
- likeQuery:
- name: name_like
- encryptorName: like_encryptor
+ assistedQuery:
+ name: assisted_username
+ encryptorName: assisted_encryptor
encryptors:
- like_encryptor:
- type: CHAR_DIGEST_LIKE
name_encryptor:
type: AES
props:
aes-key-value: 123456abc
+ assisted_encryptor:
+ type: MD5
+ props:
+ salt: 123456
```
## 相关参考
diff --git
a/docs/document/content/user-manual/common-config/builtin-algorithm/encrypt.en.md
b/docs/document/content/user-manual/common-config/builtin-algorithm/encrypt.en.md
index ac09a77ccf4..ef973157ee8 100644
---
a/docs/document/content/user-manual/common-config/builtin-algorithm/encrypt.en.md
+++
b/docs/document/content/user-manual/common-config/builtin-algorithm/encrypt.en.md
@@ -50,16 +50,18 @@ rules:
cipher:
name: username
encryptorName: name_encryptor
- likeQuery:
- name: name_like
- encryptorName: like_encryptor
+ assistedQuery:
+ name: assisted_username
+ encryptorName: assisted_encryptor
encryptors:
- like_encryptor:
- type: CHAR_DIGEST_LIKE
name_encryptor:
type: AES
props:
aes-key-value: 123456abc
+ assisted_encryptor:
+ type: MD5
+ props:
+ salt: 123456
```
## Related References