Documentation
¶
Index ¶
- func AesDecrypt(data []byte, key string) ([]byte, error)
- func AesEncrypt(data []byte, key string) ([]byte, error)
- func Decrypt(data string, key string) string
- func DecryptBase64(data string, key string) string
- func Encrypt(data string, key string) string
- func EncryptBase64(data string, key string) string
- func ReadBool(filePath, section, key string, def bool) bool
- func ReadConfig(filePath string, section string, key string) string
- func ReadFloat64(filePath, section, key string, def float64) float64
- func ReadInt(filePath, section, key string, def int) int
- func ReadInt64(filePath, section, key string, def int64) int64
- func ReadKey(filePath, section, key string, def interface{}) interface{}
- func ReadString(filePath, section, key, def string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EncryptBase64 ¶
EncryptByAes Aes加密 后 base64 再加转字符串
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.