[优化建议] PolarDB 增加国密算法(SM3/SM4)支持
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Domain
- cryptography, databases
Research direction
Start by reviewing the PolarDB kernel's existing MD5() and AES_ENCRYPT() implementations and the documented built-in encryption-function behavior. No repository files or tests are named in the issue, so locate the relevant function entry points first. Done means SM3 and SM4 are supported with usage consistent with the existing encryption functions.
Written by the indexing model from the issue text.
Description
问题描述
目前国产加密算法如SM3、SM4在密码评测、数据安全等项目中使用广泛。我们在项目中使用 PolarDB 时发现,当前 PolarDB 暂不支持这些国密算法,导致在涉及国密合规要求的业务场景中无法直接使用 PolarDB的函数。
查阅 PolarDB 官方文档及公开资料,目前只支持AES、MD5、SHA1、SHA2等加密函数。
建议
在 PolarDB 内核层面支持 SM3、SM4等国产加密算法,提供与现有加密函数一致的使用方式(如类似 MD5()、AES_ENCRYPT() 的内置函数)。
- Dominant language
- Java
- Stars
- 1.7k
- Forks
- 337
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from polardb/polardbx-sql
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
polardb/polardbx-sql#297 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 55/100
polardb/polardbx-sql#296 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
polardb/polardbx-sql#295 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
polardb/polardbx-sql#294 ·
-
DECIMAL长度计算问题 Open
Difficulty 3/5 1-2 days Newbie friendliness 45/100
polardb/polardbx-sql#293 ·
All issues in polardb/polardbx-sql
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
bug needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 1/5 Under an hour Newbie friendliness 94/100
objectionary/hone-maven-plugin#1061 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
spring-projects/spring-modulith#1895 ·