JuneAndGreen / sm-crypto

国密算法js版
MIT License
894 stars 245 forks source link

一些其他的版本实现,方便取用 #102

Open JuneAndGreen opened 8 months ago

JuneAndGreen commented 8 months ago


looly commented 6 months ago

补充Java版本实现: Hutool-crypto:https://github.com/dromara/hutool/tree/v5-master/hutool-crypto

文档见:https://doc.hutool.cn/pages/SmUtil/#%E9%9D%9E%E5%AF%B9%E7%A7%B0%E5%8A%A0%E5%AF%86sm2

Rendtime commented 6 months ago

有没有对应C++版本的呢?

hyfree commented 1 week ago

有没有对应C++版本的呢?

https://service.scctc.org.cn/xzzx/sfydm/ydmxz/

不过SM2运算用到了大数库 MIRACL,这个可能需要授权。

其次,可以参考GMSSL和OpenSSL的SM实现