Comments (5)
试下这个同学的优化实现?
https://github.com/Cubelrti/sm-crypto-v2
from sm-crypto.
试下这个同学的优化实现?
这个库反而跑不起来,我看介绍,没有文件相关的
from sm-crypto.
https://github.com/Cubelrti/sm-crypto-v2/blob/master/src/sm3/index.ts ,你可以直接传 TypedArray,他的实现中用 TypedArray 替换了原先的普通数组实现
from sm-crypto.
我在import就已经报错了,应该是不兼容的问题吧
from sm-crypto.
我在import就已经报错了,应该是不兼容的问题吧
只要你不是过于老旧的浏览器,那么按道理跟我这边的实现没有差太多的,只是他那边是用 ts 编写的,且做了些优化工作。
from sm-crypto.
Related Issues (20)
- 提供一个高性能的Java版,采用了BC库
- 一些其他的版本实现,方便取用 HOT 3
- sm4.encrypt的key要求是128比特,可是demo那里的字符是32位。 HOT 5
- sm4.encrypt的key要求是128比特,可是demo那里的字符是32位。
- uniapp 提示未定义 HOT 4
- sm4密钥 HOT 7
- hi, 这个工具又从证书获取公钥或私钥的方法吗? HOT 7
- 什么时候支持ts呀? HOT 1
- js加密,服务端(java hutool)解密,概率性出现解密失败 HOT 4
- sm2签名 支持r 和 s输出吗 HOT 1
- 能否实现类似spark-md5的功能? HOT 1
- SM3和SM4有原生js的引入的方式吗 HOT 1
- sm3-hmac算出来和openssl算的结果不一样 HOT 2
- 生成的密钥对结构和java的不一样 HOT 2
- sm4加密文件后无法解密 HOT 7
- sm4 加密报错
- 在使用代码混淆后,无法加解密 HOT 1
- SM2解密 后台采用hutool,密文加了04,但是还是偶发解密不了,报错InvalidCipherTextException: invalid cipher text HOT 1
- IE 出现兼容问题,建议修改 packjson 的main的路径 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sm-crypto.