Giter VIP home page Giter VIP logo

dist 中SM2随机出错,加密的数据 别的加密机或解密卡不能解密(自己加自己解没有问题,自己加的数据送到加密机不能解密 出错率 10%左右)一下抓取了一条出错数据: about sm-crypto HOT 4 CLOSED

juneandgreen avatar juneandgreen commented on August 16, 2024
dist 中SM2随机出错,加密的数据 别的加密机或解密卡不能解密(自己加自己解没有问题,自己加的数据送到加密机不能解密 出错率 10%左右)一下抓取了一条出错数据:

from sm-crypto.

Comments (4)

wangjun796 avatar wangjun796 commented on August 16, 2024

公钥:BB65BC1C454191D52B30312CDD9712E9C1EE993428C80CE070E69217892525F0F2DB9EE1779685EAB13F2E79F52582098863067D2043052E4C6727999A006E35

from sm-crypto.

davidkhala avatar davidkhala commented on August 16, 2024

加密机应该用sdf接口交互 而不是使用软生成的私钥

from sm-crypto.

gy0801151351 avatar gy0801151351 commented on August 16, 2024

可以参考 #27 中的办法试试看?

from sm-crypto.

JuneAndGreen avatar JuneAndGreen commented on August 16, 2024

可能是 leftPad 问题,已 fixed:df2f016

试试 [email protected]

from sm-crypto.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.