You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by me...@apache.org on 2021/09/03 08:40:05 UTC

[shardingsphere] branch master updated: Fix create encrypt rule PROPERTIES doc (#12192)

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

menghaoran 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 7d20ec3  Fix create encrypt rule PROPERTIES doc (#12192)
7d20ec3 is described below

commit 7d20ec3f96b626835cf4ee08185df6ddd61de79a
Author: Hongsheng Zhong <sa...@126.com>
AuthorDate: Fri Sep 3 16:39:36 2021 +0800

    Fix create encrypt rule PROPERTIES doc (#12192)
---
 .../content/features/dist-sql/syntax/rdl/rdl-encrypt-rule.cn.md     | 6 +++---
 .../content/features/dist-sql/syntax/rdl/rdl-encrypt-rule.en.md     | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/docs/document/content/features/dist-sql/syntax/rdl/rdl-encrypt-rule.cn.md b/docs/document/content/features/dist-sql/syntax/rdl/rdl-encrypt-rule.cn.md
index 1b20f33..69dd440 100644
--- a/docs/document/content/features/dist-sql/syntax/rdl/rdl-encrypt-rule.cn.md
+++ b/docs/document/content/features/dist-sql/syntax/rdl/rdl-encrypt-rule.cn.md
@@ -36,18 +36,18 @@ algorithmProperty:
 ```sql
 CREATE ENCRYPT RULE t_encrypt (
 COLUMNS(
-(NAME=user_id,PLAIN=user_plain,CIPHER=user_cipher,TYPE(NAME=AES,PROPERTIES('aes-key-value'=123456abc))),
+(NAME=user_id,PLAIN=user_plain,CIPHER=user_cipher,TYPE(NAME=AES,PROPERTIES('aes-key-value'='123456abc'))),
 (NAME=order_id, CIPHER =order_cipher,TYPE(NAME=MD5))
 )),
 t_encrypt_2 (
 COLUMNS(
-(NAME=user_id,PLAIN=user_plain,CIPHER=user_cipher,TYPE(NAME=AES,PROPERTIES('aes-key-value'=123456abc))),
+(NAME=user_id,PLAIN=user_plain,CIPHER=user_cipher,TYPE(NAME=AES,PROPERTIES('aes-key-value'='123456abc'))),
 (NAME=order_id, CIPHER=order_cipher,TYPE(NAME=MD5))
 ));
 
 ALTER ENCRYPT RULE t_encrypt (
 COLUMNS(
-(NAME=user_id,PLAIN=user_plain,CIPHER=user_cipher,TYPE(NAME=AES,PROPERTIES('aes-key-value'=123456abc))),
+(NAME=user_id,PLAIN=user_plain,CIPHER=user_cipher,TYPE(NAME=AES,PROPERTIES('aes-key-value'='123456abc'))),
 (NAME=order_id,CIPHER=order_cipher,TYPE(NAME=MD5))
 ));
 
diff --git a/docs/document/content/features/dist-sql/syntax/rdl/rdl-encrypt-rule.en.md b/docs/document/content/features/dist-sql/syntax/rdl/rdl-encrypt-rule.en.md
index 065203c..7c2efe4 100644
--- a/docs/document/content/features/dist-sql/syntax/rdl/rdl-encrypt-rule.en.md
+++ b/docs/document/content/features/dist-sql/syntax/rdl/rdl-encrypt-rule.en.md
@@ -36,18 +36,18 @@ algorithmProperty:
 ```sql
 CREATE ENCRYPT RULE t_encrypt (
 COLUMNS(
-(NAME=user_id,PLAIN=user_plain,CIPHER=user_cipher,TYPE(NAME=AES,PROPERTIES('aes-key-value'=123456abc))),
+(NAME=user_id,PLAIN=user_plain,CIPHER=user_cipher,TYPE(NAME=AES,PROPERTIES('aes-key-value'='123456abc'))),
 (NAME=order_id, CIPHER =order_cipher,TYPE(NAME=MD5))
 )),
 t_encrypt_2 (
 COLUMNS(
-(NAME=user_id,PLAIN=user_plain,CIPHER=user_cipher,TYPE(NAME=AES,PROPERTIES('aes-key-value'=123456abc))),
+(NAME=user_id,PLAIN=user_plain,CIPHER=user_cipher,TYPE(NAME=AES,PROPERTIES('aes-key-value'='123456abc'))),
 (NAME=order_id, CIPHER=order_cipher,TYPE(NAME=MD5))
 ));
 
 ALTER ENCRYPT RULE t_encrypt (
 COLUMNS(
-(NAME=user_id,PLAIN=user_plain,CIPHER=user_cipher,TYPE(NAME=AES,PROPERTIES('aes-key-value'=123456abc))),
+(NAME=user_id,PLAIN=user_plain,CIPHER=user_cipher,TYPE(NAME=AES,PROPERTIES('aes-key-value'='123456abc'))),
 (NAME=order_id,CIPHER=order_cipher,TYPE(NAME=MD5))
 ));