Documentation
¶
Index ¶
- func AesDecrypt(ciphertext string, key []byte) (string, error)
- func AesEncrypt(plaintext, key []byte) (string, error)
- func PKCS7Padding(ciphertext []byte, blockSize int) []byte
- func PKCS7UnPadding(origData []byte) ([]byte, error)
- func PanicTrace(kb int) []byte
- func RemoveElements[T comparable](source []T, toRemove []T) []T
- func Sha3(txt string) string
- func Unique[T comparable](items []T) []T
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PKCS7Padding ¶
func PKCS7UnPadding ¶
func RemoveElements ¶ added in v1.8.1
func RemoveElements[T comparable](source []T, toRemove []T) []T
RemoveElements 泛型版本,可用于任何可比较类型
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.