You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by ch...@apache.org on 2024/03/27 07:33:57 UTC
(shardingsphere-plugin) 01/01: Merge pull request #41 from strongduanmu/dev-0327
This is an automated email from the ASF dual-hosted git repository.
chengzhang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/shardingsphere-plugin.git
commit 1d4a72e278723cd3ba489fa3404c36cc57568760
Merge: e95d160 815640d
Author: ZhangCheng <ch...@apache.org>
AuthorDate: Wed Mar 27 15:33:51 2024 +0800
Merge pull request #41 from strongduanmu/dev-0327
Add new sm3 message digest algorithm and refactor sm3 encrypt algorithm
README.md | 23 ++++++++
README_ZH.md | 23 ++++++++
.../algorithm/CharDigestLikeEncryptAlgorithm.java | 8 +--
.../encrypt/rc4/algorithm/RC4EncryptAlgorithm.java | 4 +-
.../rc4/algorithm/RC4EncryptAlgorithmTest.java | 6 +-
.../assisted/SM3AssistedEncryptAlgorithm.java | 66 ++++++++++++++++++++++
.../{ => standard}/SM4EncryptAlgorithm.java | 24 ++++----
...che.shardingsphere.encrypt.spi.EncryptAlgorithm | 4 +-
.../SM3AssistedEncryptAlgorithmTest.java} | 4 +-
.../{ => standard}/SM4EncryptAlgorithmTest.java | 6 +-
.../cosid/CosIdSnowflakeKeyGenerateAlgorithm.java | 6 +-
.../CosIdSnowflakeKeyGenerateAlgorithmTest.java | 6 +-
infra/algorithm/{ => message-digest}/pom.xml | 6 +-
infra/algorithm/{ => message-digest/sm3}/pom.xml | 30 ++++++++--
.../sm3/SM3MessageDigestAlgorithm.java | 40 +++++--------
...rithm.messagedigest.core.MessageDigestAlgorithm | 3 +-
.../sm3/SM3MessageDigestAlgorithmTest.java | 58 +++++++++++++++++++
infra/algorithm/pom.xml | 1 +
18 files changed, 246 insertions(+), 72 deletions(-)