基于BouncyCastle实现国密算法SM2、SM3、SM4的操作类,并验证与其他语言(NodeJS、Go)实现的国密库的互操作性。
SM2功能 | 支持范围 |
---|---|
Generate KeyPair | 是 |
Derive public key from private key | 是 |
Sign | 是 |
Verify | 是 |
PEM格式导出 | 私钥/公钥/CSR |
PEM文件加密 | RFC5958 |
PEM格式导入 | 私钥/公钥/CSR |
SM4功能 | 支持范围 |
---|---|
Generate Key | 是 |
Encrypt, Decrypt | 是 |
PEM格式导出 | |
PEM文件加密 | |
分组模式 | ECB/CBC |
SM3功能 | 支持范围 |
---|---|
当前语言Hash接口兼容 | 是 |
- SM2: 国密椭圆曲线算法库
- SM3: 国密hash算法库
- SM4: 国密分组密码算法库
We welcome contributions to Hyperledger in many forms, and there's always plenty to do!
Please visit the contributors guide in the docs to learn how to make contributions to this exciting project.
This work is licensed under a Creative Commons Attribution 4.0 International License.
Hyperledger Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file.