github.com/Hyperledger-TWGC/tjfoc-gm@v1.4.0/README.md (about)

     1  
     2  # tjfoc-gm
     3  GM SM2/3/4 library based on Golang
     4  
     5  [![Build Status](https://travis-ci.com/Hyperledger-TWGC/tjfoc-gm.svg?branch=dev-fabric)](https://travis-ci.com/Hyperledger-TWGC/tjfoc-gm)
     6  [![Build Status](https://dev.azure.com/Hyperledger/TWGC/_apis/build/status/Hyperledger-TWGC.tjfoc-gm?branchName=dev-fabric)](https://dev.azure.com/Hyperledger/TWGC/_build/latest?definitionId=127&branchName=dev-fabric)
     7  ## Feature
     8  tjfoc-gm包含以下主要功能
     9  
    10  ## Feature 功能支持列表
    11  
    12  
    13  
    14  |  SM2功能   | 支持范围  | 
    15  |  ----  | ----  |
    16  | Generate KeyPair  | `是` |
    17  | Sign  | `是` |
    18  | Verify | `是` |
    19  | PEM格式导出 | `私钥/公钥/CSR/证书`|
    20  | PEM格式导入 | `私钥/公钥/CSR/证书` |
    21  | PEM文件加密 | RFC5958 |  
    22  
    23  |  SM4功能   | 支持范围  | 
    24  |  ----  | ----  |
    25  | Generate Key |  `是` |
    26  | Encrypt, Decrypt | `是` |
    27  | PEM格式导出 | `是`  |
    28  | PEM文件加密 | golang: `x509.EncryptPEMBlock` |
    29  | 分组模式 | ECB/CBC/CFB/OFB/CTR |
    30  
    31  
    32  |  SM3功能   | 支持范围  | 
    33  |  ----  | ----  |
    34  | 当前语言Hash接口兼容 | `是` |
    35  
    36  ## Terminology 术语
    37  - SM2: 国密椭圆曲线算法库
    38  - SM3: 国密hash算法库
    39  - SM4: 国密分组密码算法库
    40      - **注意**:CBC模式在国际范围内正逐渐弃用,此安全最佳实践也适用于国密
    41  
    42  ## [Usage 使用说明](./API使用说明.md)
    43  
    44  ## Communication
    45  tjfoc国密交流 
    46     
    47  [![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=-badge&utm_content=badge)
    48  
    49  
    50  - 如果你对国密算法开源技术及应用感兴趣,欢迎添加“苏州同济区块链研究院·小助手“微信,回复“国密算法进群”,加入“同济区块链国密算法交流群”。微信二维码如下:  
    51       ![微信二维码](https://github.com/tjfoc/wutongchian-public/blob/master/wutongchain.png)
    52  
    53  - 发送邮件到tj@wutongchain.com
    54   
    55   
    56   ## License
    57   版权所有 苏州同济区块链研究院有限公司(http://www.wutongchain.com/)
    58   
    59   Copyright 2017- Suzhou Tongji Fintech Research Institute. All Rights Reserved.
    60   Licensed under the Apache License, Version 2.0 (the "License");
    61   
    62   you may not use this file except in compliance with the License.
    63   You may obtain a copy of the License at
    64        http://www.apache.org/licenses/LICENSE-2.0
    65   Unless 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.
    66   
    67   See the License for the specific language governing permissions and limitations under the License.
    68  
    69