modulepackage
0.0.0-20221019060107-edb949a317e9
Repository: https://github.com/hellobchain/newcryptosm.git
Documentation: pkg.go.dev
# README
cryptogm
基于go语言的crypto包 包含支持兼容国密的tls x509以及国密算法 此版本的tls版本仅支持1.2以下
使用方法
跟原先使用方法雷同
注:仅只能用于个人,不可商用
# Packages
Package ecdsa implements the Elliptic Curve Digital Signature Algorithm, as defined in FIPS 186-3.
Package http provides HTTP client and server implementations.
No description provided by the author
No description provided by the author
No description provided by the author
Package sm9 implements a particular bilinear group at the 128-bit security level.
Package gmtls add sm2 support.
Package x509 parses X.509-encoded keys and certificates.
# Functions
RegisterHash registers a function that returns a new instance of the given hash function.
# Constants
import golang.org/x/crypto/blake2b.
import golang.org/x/crypto/blake2b.
import golang.org/x/crypto/blake2b.
import golang.org/x/crypto/blake2s.
import golang.org/x/crypto/md4.
import crypto/md5.
no implementation; MD5+SHA1 used for TLS RSA.
import golang.org/x/crypto/ripemd160.
import crypto/sha1.
import crypto/sha256.
import crypto/sha256.
import golang.org/x/crypto/sha3.
import golang.org/x/crypto/sha3.
import golang.org/x/crypto/sha3.
import golang.org/x/crypto/sha3.
import crypto/sha512.
import crypto/sha512.
import crypto/sha512.
import crypto/sha512.
No description provided by the author
# Type aliases
Hash identifies a cryptographic hash function that is implemented in another package.