Documentation ¶
Index ¶
- func Decrypt(cipherText, priKey []byte) ([]byte, error)
- func DecryptWithB64Key(cipherText []byte, priKey string) ([]byte, error)
- func Encrypt(origData, pubKey []byte) ([]byte, error)
- func EncryptWithB64Key(origData []byte, pubKey string) ([]byte, error)
- func GenerateSm2Key() ([]byte, []byte, error)
- func GenerateSm2KeyByB64() (string, string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateSm2Key ¶
func GenerateSm2KeyByB64 ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.