README.md
1
2GM SM2/3/4 library based on Golang
3
4基于Go语言的国密SM2/SM3/SM4加密算法库
5
6版权所有 苏州同济区块链研究院有限公司(http://www.wutongchain.com/)
7
8
9Process Results [![Build Status](https://travis-ci.org/tjfoc/gmsm.svg?branch=master)](https://travis-ci.org/tjfoc/gmsm)
10
11Copyright Suzhou Tongji Fintech Research Institute 2017 All Rights Reserved.
12Licensed under the Apache License, Version 2.0 (the "License");
13
14you may not use this file except in compliance with the License.
15You may obtain a copy of the License at
16 http://www.apache.org/licenses/LICENSE-2.0
17Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18
19See the License for the specific language governing permissions and limitations under the License.
20
21
22GMSM包含以下主要功能
23
24 SM2: 国密椭圆曲线算法库
25 . 支持Generate Key, Sign, Verify基础操作
26 . 支持加密和不加密的pem文件格式(加密方法参见RFC5958, 具体实现参加代码)
27 . 支持证书的生成,证书的读写(接口兼容rsa和ecdsa的证书)
28 . 支持证书链的操作(接口兼容rsa和ecdsa)
29 . 支持crypto.Signer接口
30
31 SM3: 国密hash算法库
32 . 支持基础的sm3Sum操作
33 . 支持hash.Hash接口
34
35 SM4: 国密分组密码算法库
36 . 支持Generate Key, Encrypt, Decrypt基础操作
37 . 提供Cipher.Block接口
38 . 支持加密和不加密的pem文件格式(加密方法为pem block加密, 具体函数为x509.EncryptPEMBlock)
39
40关于GMSM交流: [![Join the chat at https://gitter.im/tjfoc/gmsm](https://badges.gitter.im/tjfoc/gmsm.svg)](https://gitter.im/tjfoc/gmsm?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
41或发送邮件到tj@wutongchain.com
42
43 如果你对国密算法开源技术及应用感兴趣,欢迎添加“苏州同济区块链研究院·小助手“微信,回复“国密算法进群”,加入“同济区块链国密算法交流群”。微信二维码如下:
44 ![微信二维码](https://github.com/tjfoc/wutongchian-public/blob/master/wutongchain.png)