Giter Club home page Giter Club logo

bsn-sdk-cli's Introduction

bsn-sdk-cli

1. 生成sm2、secp25r1、secp256k1 格式的密钥,并且生成测试的签名数据

go版本需要1.13及以上
go get github.com/chenxifun/bsn-sdk-cli
代码下载不了,可以使用代理 go env -w GOPROXY=https://goproxy.cn,direct
命令如下:

参数
    --algo  算法类型可选为【sm2、secp25r1、secp256k1】
       sm2              适用于国密签名算法的密钥
       secp256r1        适用于r1签名算法的密钥
       secp256k1        适用于k1签名算法的密钥
    --data  待签名的数据

示例:

bsn-sdk-cli secret --algo sm2 --data abc123

openssl 生成密钥参考这里

bsn-sdk-cli's People

Contributors

chenxifun avatar

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.