Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSM3Hash ¶
Types ¶
type PrivateKey ¶
PrivateKey represents a SM2 private key.
func SM2BytesToKey ¶
func SM2BytesToKey(vbs []byte) (*PrivateKey, error)
func SM2GenerateKey ¶
func SM2GenerateKey(rand io.Reader) (*PrivateKey, error)
Click to show internal directories.
Click to hide internal directories.