Documentation ¶
Index ¶
- 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.