Code Monkey home page Code Monkey logo

Comments (2)

a77uu avatar a77uu commented on June 26, 2024

密文:
2ZFJ12Ju+3AKiZnyZJLS175M4Mnv2tVTptDPdkf5LaP1MwriSP5pnlD81jt+d86fXOfigq2HPMeNnDERX8V7iIX6tVRSaD0MqS0aTaMNo3UNy08xY0kiSXqeuckwAgg+GOzG0QdBWHZLaEvk5gWR5iIuVXc9aK1b6QhQGP+4WMrjKhApY1gSBKsMg9UPlU/EQ7izyY7m9UANwUb0PHDDTXK357ujnuZrhA17MUSXhwg=

Key:
111101525715018487214501319884958

IV:
1111015219884958

Result:
{"code":1, "message":"成功", "data":{ "srvrt": { "timeStamp": "1668066248909", "resultCode": "0300", "resultMessage": "文件ID(fileId)不能为空" } }}

from sm-crypto.

JuneAndGreen avatar JuneAndGreen commented on June 26, 2024

https://github.com/JuneAndGreen/sm-crypto/blob/master/docs/SM4%E5%88%86%E7%BB%84%E5%AF%86%E7%A0%81%E7%AE%97%E6%B3%95.pdf

此库只按标准文档实现,要求输入密钥为 128 比特,但是密钥本身不是由此库生成,你按自己业务的需求将其调整到 128 比特即可。

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.