Documentation ¶
Index ¶
- func DecryptAES(c string, k string) (string, error)
- func EncryptAES(plain string, key string) (string, error)
- func GenerateSignature(msg interface{}, privateKeyB64 string) (string, error)
- func URLEncodedBase64ToHex(c string) (string, error)
- func VerifySignature(msg interface{}, publicKeyB64 string, strSign string) error
- type PKCKeyCombo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateSignature ¶
func URLEncodedBase64ToHex ¶
func VerifySignature ¶
Types ¶
type PKCKeyCombo ¶
func GeneratePKCKeys ¶
func GeneratePKCKeys() *PKCKeyCombo
Click to show internal directories.
Click to hide internal directories.