blob: ed1b8926bb7d1c6bda60f3cbe27cc8106ce4cc08 [file] [log] [blame]
commit 570b41e1a1044d44a5d60d4d72ffced899a591fe
Author: Cong Hu <iamhucong@qq.com>
Date: Fri Jun 9 17:19:03 2023 +0800
Use custom digest to create AES secret key. (#26213)
* Use custom digest to create AES secret key.
* Use custom digest to create AES secret key.
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 fcfb5465fa6..a69fafd2aa4 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
@@ -17,9 +17,10 @@ weight = 5
可配置属性:
-| *名称* | *数据类型* | *说明* |
-|---------------|--------|-------------|
-| aes-key-value | String | AES 使用的 KEY |
+| *名称* | *数据类型* | *说明* |
+|-----------------------|--------|------------------------------|
+| aes-key-value | String | AES 使用的 KEY |
+| digest-algorithm-name | String | AES KEY 的摘要算法 (可选,默认值:SHA-1) |
#### RC4 加密算法
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 a15859bf3fd..7a03d111c06 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
@@ -17,9 +17,10 @@ Type: AES
Attributes:
-| *Name* | *DataType* | *Description* |
-|---------------|------------|---------------|
-| aes-key-value | String | AES KEY |
+| *Name* | *DataType* | *Description* |
+|-----------------------|------------|-----------------------------------------------------|
+| aes-key-value | String | AES KEY |
+| digest-algorithm-name | String | AES KEY DIGEST ALGORITHM (optional, default: SHA-1) |
#### RC4 Encrypt Algorithm