Giter Club home page Giter Club logo

Comments (2)

chenzipeng1990 avatar chenzipeng1990 commented on July 26, 2024

function a () {
var pri = "c14a12e8670975d9196b06617a68df840d128918e794132c82a984a9fcca8b60";
var pub = "048eb7b65f08bcea7b1f00985f86f5f67041c0bc43b56d2993478c21ed90a5d1743feb44d55bf285308fdedc8547f6647d7d4a26eeb6866f5a55357b137dacb542"

        var s = "{\"eParam\":\"04f019f9146a36e5272c4b250a89b3ebec0d786c1219aa00d00d3acaf7c866961fbad28efccae149c6ca8cb47d4ed766d1db14ca8a1d6ea0652048ecfcec04e0d3457801f5387dcfd4b228c71829d9e8d46688a1bf3b0967ccdd85cf29027ae14c1275bb1a482ef8f45ccd6638fc8f777f1336cb200bdb63ecab6f4fa576ec42ff261d74ef7be6d31cd9376cda510b37c60d5fd32ed86618c6f4e4563259021b007088357a73e1a88c309b0f8f345bda86a013f85240ca1bd7249d9a85d7cd70f5436a281e04c585807aa0cb3a85\"}";
        for (var i = 0; i < 100; i++) {
            var ct = sm2Encrypt(s, pub, 0);
            try {
                var dt = sm2Decrypt(ct, pri, 0);
            } catch (e) {
                console.error("出错了", ct, e)
            }
            console.log(i);
        }
    }

from sm2.

sanchiqingfeng avatar sanchiqingfeng commented on July 26, 2024

请问有解决吗

from sm2.

Related Issues (9)

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.