Documentation ¶
Index ¶
- func AesDecrypt(crypted, key, iv []byte) ([]byte, error)
- func AesEncrypt(plaintext, key, iv []byte) ([]byte, error)
- func DeepCopy(dst, src interface{}) error
- func GetFolderFiles(folder string, allowFileType string) ([]string, error)
- func GetGuid() string
- func GetMd5String(s string) string
- func PKCS7Padding(ciphertext []byte, blockSize int) []byte
- func PKCS7Unpadding(origData []byte) []byte
- func SubString(s string, pos, length int) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFolderFiles ¶
获取目录下所有文件,返回一个切片
func PKCS7Padding ¶
func PKCS7Unpadding ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.