Skip to content

Commit 955c260

Browse files
authored
modify encryption algorithms to SHA-256 (#791)
1 parent 3ac3f5d commit 955c260

File tree

12 files changed

+12
-12
lines changed

12 files changed

+12
-12
lines changed

src/UserGuide/Master/Table/User-Manual/Authority-Management.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ eg: CREATE USER user1 'passwd'
181181
Constraints:
182182

183183
* Username: 4-32 characters (letters, numbers, special chars: `!@#$%^&*()_+-=`). Cannot duplicate the admin (`root`) username.
184-
* Password: 4-32 characters (letters, numbers, special chars). Stored as MD5 hash by default.
184+
* Password: 4-32 characters (letters, numbers, special chars). Stored as SHA-256 hash by default.
185185

186186
2. Update Password
187187

src/UserGuide/Master/Tree/User-Manual/Authority-Management.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Users cannot create users with the same name as the administrator.
5757

5858
### 2.2 Password Constraints
5959

60-
4 to 32 characters, can use uppercase and lowercase letters, numbers, and special characters (`!@#$%^&*()_+-=`). Passwords are encrypted by default using MD5.
60+
4 to 32 characters, can use uppercase and lowercase letters, numbers, and special characters (`!@#$%^&*()_+-=`). Passwords are encrypted by default using SHA-256.
6161

6262
### 2.3 Role Name Constraints
6363

src/UserGuide/V1.3.x/User-Manual/Authority-Management.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Users cannot create users with the same name as the administrator.
5757

5858
### Password Constraints
5959

60-
4 to 32 characters, can use uppercase and lowercase letters, numbers, and special characters (`!@#$%^&*()_+-=`). Passwords are encrypted by default using MD5.
60+
4 to 32 characters, can use uppercase and lowercase letters, numbers, and special characters (`!@#$%^&*()_+-=`). Passwords are encrypted by default using SHA-256.
6161

6262
### Role Name Constraints
6363

src/UserGuide/dev-1.3/User-Manual/Authority-Management.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Users cannot create users with the same name as the administrator.
5757

5858
### Password Constraints
5959

60-
4 to 32 characters, can use uppercase and lowercase letters, numbers, and special characters (`!@#$%^&*()_+-=`). Passwords are encrypted by default using MD5.
60+
4 to 32 characters, can use uppercase and lowercase letters, numbers, and special characters (`!@#$%^&*()_+-=`). Passwords are encrypted by default using SHA-256.
6161

6262
### Role Name Constraints
6363

src/UserGuide/latest-Table/User-Manual/Authority-Management.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ eg: CREATE USER user1 'passwd'
181181
Constraints:
182182

183183
* Username: 4-32 characters (letters, numbers, special chars: `!@#$%^&*()_+-=`). Cannot duplicate the admin (`root`) username.
184-
* Password: 4-32 characters (letters, numbers, special chars). Stored as MD5 hash by default.
184+
* Password: 4-32 characters (letters, numbers, special chars). Stored as SHA-256 hash by default.
185185

186186
2. Update Password
187187

src/UserGuide/latest/User-Manual/Authority-Management.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Users cannot create users with the same name as the administrator.
5757

5858
### 2.2 Password Constraints
5959

60-
4 to 32 characters, can use uppercase and lowercase letters, numbers, and special characters (`!@#$%^&*()_+-=`). Passwords are encrypted by default using MD5.
60+
4 to 32 characters, can use uppercase and lowercase letters, numbers, and special characters (`!@#$%^&*()_+-=`). Passwords are encrypted by default using SHA-256.
6161

6262
### 2.3 Role Name Constraints
6363

src/zh/UserGuide/Master/Table/User-Manual/Authority-Management.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ eg: CREATE USER user1 'passwd'
169169
```
170170

171171
- 用户名约束:4~32个字符,支持使用英文大小写字母、数字、特殊字符`(!@#$%^&*()_+-=)`,用户无法创建和管理员用户同名的用户。
172-
- 密码约束:4~32个字符,可使用大写小写字母、数字、特殊字符`(!@#$%^&*()_+-=)`,密码默认采用 MD5 进行加密。
172+
- 密码约束:4~32个字符,可使用大写小写字母、数字、特殊字符`(!@#$%^&*()_+-=)`,密码默认采用 SHA-256 进行加密。
173173

174174
2. 更新密码
175175

src/zh/UserGuide/Master/Tree/User-Manual/Authority-Management.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ IoTDB 为用户提供了权限管理操作,为用户提供对数据与集群
5656

5757
### 2.2 密码限制
5858

59-
4~32个字符,可使用大写小写字母、数字、特殊字符(`!@#$%^&*()_+-=`),密码默认采用 MD5 进行加密。
59+
4~32个字符,可使用大写小写字母、数字、特殊字符(`!@#$%^&*()_+-=`),密码默认采用 SHA-256 进行加密。
6060

6161
### 2.3 角色名限制
6262

src/zh/UserGuide/V1.3.x/User-Manual/Authority-Management.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ IoTDB 为用户提供了权限管理操作,为用户提供对数据与集群
5656

5757
### 密码限制
5858

59-
4~32个字符,可使用大写小写字母、数字、特殊字符(`!@#$%^&*()_+-=`),密码默认采用 MD5 进行加密。
59+
4~32个字符,可使用大写小写字母、数字、特殊字符(`!@#$%^&*()_+-=`),密码默认采用 SHA-256 进行加密。
6060

6161
### 角色名限制
6262

src/zh/UserGuide/dev-1.3/User-Manual/Authority-Management.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ IoTDB 为用户提供了权限管理操作,为用户提供对数据与集群
5656

5757
### 密码限制
5858

59-
4~32个字符,可使用大写小写字母、数字、特殊字符(`!@#$%^&*()_+-=`),密码默认采用 MD5 进行加密。
59+
4~32个字符,可使用大写小写字母、数字、特殊字符(`!@#$%^&*()_+-=`),密码默认采用 SHA-256 进行加密。
6060

6161
### 角色名限制
6262

0 commit comments

Comments
 (0)