This is an automated email from the ASF dual-hosted git repository.
chengzhang pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/shardingsphere-plugin.git
from e95d160 Merge pull request #40 from
zzyReal666/fix-maven-dependency-coordinates
add 815640d Add new sm3 message digest algorithm and refactor sm3 encrypt
algorithm
new 1d4a72e Merge pull request #41 from strongduanmu/dev-0327
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
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 +-
.../{key-generator => message-digest}/pom.xml | 5 +-
.../algorithm/message-digest/sm3}/pom.xml | 26 ++++-----
.../sm3/SM3MessageDigestAlgorithm.java | 40 +++++--------
...rithm.messagedigest.core.MessageDigestAlgorithm | 2 +-
.../sm3/SM3MessageDigestAlgorithmTest.java | 31 +++++++---
infra/algorithm/pom.xml | 1 +
18 files changed, 200 insertions(+), 85 deletions(-)
create mode 100644
features/encrypt/sm/src/main/java/org/apache/shardingsphere/encrypt/sm/algorithm/assisted/SM3AssistedEncryptAlgorithm.java
rename
features/encrypt/sm/src/main/java/org/apache/shardingsphere/encrypt/sm/algorithm/{
=> standard}/SM4EncryptAlgorithm.java (82%)
rename
features/encrypt/sm/src/test/java/org/apache/shardingsphere/encrypt/sm/algorithm/{SM3EncryptAlgorithmTest.java
=> assisted/SM3AssistedEncryptAlgorithmTest.java} (96%)
rename
features/encrypt/sm/src/test/java/org/apache/shardingsphere/encrypt/sm/algorithm/{
=> standard}/SM4EncryptAlgorithmTest.java (92%)
copy infra/algorithm/{key-generator => message-digest}/pom.xml (90%)
copy {kernel/sql-translator/jooq =>
infra/algorithm/message-digest/sm3}/pom.xml (72%)
rename
features/encrypt/sm/src/main/java/org/apache/shardingsphere/encrypt/sm/algorithm/SM3EncryptAlgorithm.java
=>
infra/algorithm/message-digest/sm3/src/main/java/org/apache/shardingsphere/infra/algorithm/messagedigest/sm3/SM3MessageDigestAlgorithm.java
(66%)
copy
features/encrypt/rc4/src/main/resources/META-INF/services/org.apache.shardingsphere.encrypt.spi.EncryptAlgorithm
=>
infra/algorithm/message-digest/sm3/src/main/resources/META-INF/services/org.apache.shardingsphere.infra.algorithm.messagedigest.core.MessageDigestAlgorithm
(90%)
copy
mode/cluster/repository/consul/src/test/java/org/apache/shardingsphere/mode/repository/cluster/consul/props/ConsulPropertiesTest.java
=>
infra/algorithm/message-digest/sm3/src/test/java/org/apache/shardingsphere/infra/algorithm/messagedigest/sm3/SM3MessageDigestAlgorithmTest.java
(50%)