lifesreason / sm2 Goto Github PK
View Code? Open in Web Editor NEWsm2,sm3,cryptojs,crypto,base64,rsa,aes crypt
sm2,sm3,cryptojs,crypto,base64,rsa,aes crypt
getHexString 处语法是es6的.提交了一个pull request
确实会出现解密不出来的情况,在大佬的帮助下解决了;
在 Reset 方法 和 Encrypt 方法处 进行补位操作
How to decrypt with JAVA?
我用这个openssl生成的公私钥对可以签名验签都是正常的,哪这个生成的公私钥到sm2.js里面去签名验签就不行了,这个openssl生成的sm2的公私钥是什么格式的啊,这个是sm2.js的公私钥获取和签名验签,麻烦大佬抽时间看看
源文比较长的时候
试过做 一个100次的循环,会有几率出现加密出来的密文不正确,解析不出来
Error: Calling enrollment endpoint failed with error [Error: write EPROTO 140222719264576:error:100D7010:elliptic curve routines:ECKEY_PUB_DECODE:EC lib:../deps/openssl/openssl/crypto/ec/ec_ameth.c:202:
140222719264576:error:0B07707D:x509 certificate routines:X509_PUBKEY_get:public key decode error:../deps/openssl/openssl/crypto/asn1/x_pubkey.c:154:
140222719264576:error:140900EF:SSL routines:ssl3_get_server_certificate:unable to find public key parameters:../deps/openssl/openssl/ssl/s3_clnt.c:1313:
How are we supposed to use this package?
The readme doesn't make sense (bad formatting and no clear link between the package and the objects/methods used) and there are no examples.
Would it be possible to do that?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.