Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

希望支持SM4加密及SM3withSM2签名算法 #145

Closed
sweetcandies opened this issue Jul 25, 2022 · 4 comments
Closed

希望支持SM4加密及SM3withSM2签名算法 #145

sweetcandies opened this issue Jul 25, 2022 · 4 comments

Comments

@sweetcandies
Copy link

插件目前已支持SM2和SM3加密,希望能支持SM4对称加密和SM3withSM2签名算法。
js版国密算法国密算法js版在此项目中已有实现,可以参考

@baiy
Copy link
Owner

baiy commented Dec 30, 2022

新版已支持

@baiy baiy closed this as completed Dec 30, 2022
@xesygao
Copy link
Contributor

xesygao commented Jan 6, 2023

SM3withSM2签名验签似乎还不支持 @baiy

@baiy
Copy link
Owner

baiy commented Jan 6, 2023

我本身对sm算法不是特别了解, 项目中使用的 https://github.com/JuneAndGreen/sm-crypto 这个库 , 没有对SM3withSM2提供支持,, 所以我们这个项目就没有提供SM3withSM2的支持

@xesygao @sweetcandies 如果你们有对应的代码实现 欢迎PR

这个issues我重新打开 期待大家的PR

@baiy baiy reopened this Jan 6, 2023
@xesygao
Copy link
Contributor

xesygao commented Jan 6, 2023

我本身对sm算法不是特别了解, 项目中使用的 https://github.com/JuneAndGreen/sm-crypto 这个库 , 没有对SM3withSM2提供支持,, 所以我们这个项目就没有提供SM3withSM2的支持

@xesygao @sweetcandies 如果你们有对应的代码实现 欢迎PR

这个issues我重新打开 期待大家的PR

@baiy
这个就是SM3WithSm2,其实就是sm2的签名验签算法
https://github.com/JuneAndGreen/sm-crypto#%E7%AD%BE%E5%90%8D%E9%AA%8C%E7%AD%BE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants