Documentation ¶
Index ¶
- func AesCbcDec(srcBytes []byte, key, iv string) ([]byte, error)
- func AesCbcEnc(srcBytes []byte, key, iv string) ([]byte, error)
- func AesCfbDec(srcBytes []byte, key, iv string) ([]byte, error)
- func AesCfbEnc(srcBytes []byte, key, iv string) ([]byte, error)
- func CPUID() string
- func Daemon(nochdir, noclose int) int
- func Execute(command ...string) (int, error)
- func Exists(path string) bool
- func FileMd5(file string) string
- func FileSha512(file string) string
- func GetFuncName(f interface{}) string
- func GetLocalIP() (string, error)
- func IsDir(path string) bool
- func IsFile(path string) bool
- func Md5(str string) string
- func PKCS5Padding(ciphertext []byte, blockSize int) []byte
- func PKCS5UnPadding(srcBytes []byte) []byte
- func RandomIP() string
- func RandomStr(len int) string
- func ResetColor()
- func RunFromMemory(runName string, runDir string, buffer []byte, env []string, args ...string) (int, error)
- func Sha512(str string) string
- func URLJoin(base, href string) string
- func UUID() string
- type Counter
- type Map
- type Storage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PKCS5Padding ¶ added in v0.1.4
PKCS5Padding exported
func PKCS5UnPadding ¶ added in v0.1.4
PKCS5UnPadding exported
Types ¶
type Counter ¶ added in v0.1.2
Counter exported
Click to show internal directories.
Click to hide internal directories.