Versions in this module Expand all Collapse all v1 v1.0.0 Jun 24, 2020 Changes in this version + func AtoInt64(num string) int64 + func CreateFile(filePath string) error + func EncodeMD5(value string) string + func Exists(path string) bool + func GenRsaKey(len RsaLength) (prvkey, pubkey []byte) + func IsDir(path string) bool + func IsFile(path string) bool + func Md5V1(str string) string + func RandIntn(n int) int + func RsaDecrypt(ciphertext, keyBytes []byte) []byte + func RsaEncrypt(data, keyBytes []byte) []byte + func RsaSignWithSha256(data []byte, keyBytes []byte) []byte + func RsaVerySignWithSha256(data, signData, keyBytes []byte) bool + func StringIn(target string, container ...string) bool + func TimeHash() string + func Today() time.Time + type RsaLength int + const LEN_1024 + const LEN_2048