Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
func (*Config) AESBytesLength ¶
func (*Config) EllipticCurve ¶
func (*Config) SetSecurityLevel ¶
SetSecurityLevel 设置哈希函数的安全级别,securityLevel 可取的值包括 256 和 384,hashFamily 可取的值 包括 SHA2 和 SHA3。
SHA2 256:sha256.New,elliptic.P256() 384:sha512.New384,elliptic.P384() SHA3 256:sha3.New256,elliptic.P256() 384:sha3.New384,elliptic.P384()
Click to show internal directories.
Click to hide internal directories.