Documentation
¶
Index ¶
- func DecodeAesJson(cipherText string, priv string, dest interface{}) error
- func DecryptAes(cipherText []byte, key []byte) ([]byte, error)
- func EncryptAes(plainText []byte, key []byte) ([]byte, error)
- func EncryptAesJson(data interface{}, priv string) (string, error)
- func GenerateKeyPairBase64(bits int) (pubBase64 string, privBase64 string, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeAesJson ¶
func EncryptAesJson ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.