Documentation
¶
Index ¶
- func Decrypt(ciphertext []byte, keystring string) ([]byte, error)
- func Encrypt(plaintext []byte, keystring string) ([]byte, error)
- func HexStr2int(hexStr string) (int, error)
- func Int2HexStr(num int) (hex string)
- func JsonEncode(v interface{}) string
- func Md5(source string) string
- func Md5File(file io.Reader) string
- func PathExists(path string) (bool, error)
- func PowInt(x int, y int) int
- func ToStr(value interface{}, args ...int) (s string)
- type StrTo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HexStr2int ¶
HexStr2int converts hex format string to decimal number.
func Int2HexStr ¶
Int2HexStr converts decimal number to hex format string.
func JsonEncode ¶
func JsonEncode(v interface{}) string
func PathExists ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.