ccs-gm

module
v0.0.0-...-e28b223 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2023 License: Apache-2.0

README

ccs-gm

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

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 elliptic implements several standard elliptic curves over prime fields.
Package elliptic implements several standard elliptic curves over prime fields.
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