ccs-gm

module
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 2, 2021 License: Apache-2.0

README

ccs-gm

go语言国密密码库,实现了数据签名/验签、数据哈希、对称加密、非对称加密、x509证书管理、以及国密tls通信的功能。

Build Status Go Build Status

License

Hyperledger Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file.

Feature 功能支持列表

SM2功能 支持范围
Generate KeyPair
Sign
Verify
PEM格式导出 私钥/公钥/证书
PEM格式导入 私钥/公钥/证书
PEM文件加密 RFC5958
SM4功能 支持范围
Generate Key
Encrypt, Decrypt
PEM格式导出
PEM文件加密 golang: x509.EncryptPEMBlock
分组模式 ECB/CBC
SM3功能 支持范围
当前语言Hash接口兼容

Directories

Path Synopsis
internal
randutil
Package randutil contains internal randomness utilities for various crypto packages.
Package randutil contains internal randomness utilities for various crypto packages.
subtle
Package subtle implements functions that are often useful in cryptographic code but require careful thought to use correctly.
Package subtle implements functions that are often useful in cryptographic code but require careful thought to use correctly.
Package sm2 implements china crypto standards.
Package sm2 implements china crypto standards.
Package sm3 implements china crypto standards.
Package sm3 implements china crypto standards.
Package tls partially implements TLS 1.2, as specified in RFC 5246.
Package tls partially implements TLS 1.2, as specified in RFC 5246.
Package x509 parses X.509-encoded keys and certificates.
Package x509 parses X.509-encoded keys and certificates.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL