Giter Club home page Giter Club logo

Comments (7)

ZZMarquis avatar ZZMarquis commented on July 28, 2024

感觉不太正常。方便的话,可以把你的代码贴上来看下。

from gmhelper.

yanlun0323 avatar yanlun0323 commented on July 28, 2024

安全包版本如下:
image

image

image

from gmhelper.

ZZMarquis avatar ZZMarquis commented on July 28, 2024

我没有复现到这个问题,我在SM4UtilTest里的测试代码里加了些耗时打印,在小数据量加密的情况下第一次也都是在是十几毫秒内完成的。所以不知道是不是你的代码里加了些别的逻辑导致的。

from gmhelper.

yanlun0323 avatar yanlun0323 commented on July 28, 2024

image

这里的test案例,耗时部分初始化已经完成了吧,所以耗时计算看不出来。 我这里的案例是直接指定了Key,然后初次加载很慢,直接放static代码块初始化也没用。。

image

from gmhelper.

ZZMarquis avatar ZZMarquis commented on July 28, 2024

方便的话,可以把完整的代码贴一下。我测试、调试看看。

from gmhelper.

ZZMarquis avatar ZZMarquis commented on July 28, 2024

看下你遇到的问题是不是跟这个类似:https://toutiao.io/posts/i02ux77

from gmhelper.

yanlun0323 avatar yanlun0323 commented on July 28, 2024

今天也看到了这篇文章,应该是初始化加载太慢了。Cipher.getInstance初次太耗时了

from gmhelper.

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.