Cubelrti / sm-crypto-v2

国密算法 ts 版
MIT License
40 stars 6 forks source link

支付宝小程序环境没有 BigInt 类型,请问有啥方案可以解决 #10

Open hhcgq opened 1 month ago

hhcgq commented 1 month ago

我们这边有用到 asn1 编码, sm-crypto 那边 sm2 好像不支持

Cubelrti commented 1 month ago

支付宝可以尝试下 https://github.com/Cubelrti/sm-crypto-wasm 这个模块,使用 WebAssembly 实现运算。