Documentation ¶
Index ¶
- func Decrypt(ciphertext []byte, key []byte) ([]byte, error)
- func Encrypt(plaintext []byte, key []byte) ([]byte, error)
- func FilterFiles(files, filters []string) []string
- func GenerateRandomBytes(n int) ([]byte, error)
- func GenerateRandomString(n int) (string, error)
- func GenerateUUID4() string
- func InArray(val interface{}, array interface{}) bool
- func ListFiles(basePath string) []string
- func ReadFile(path string) string
- func Unset(a []string, i int) []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FilterFiles ¶
FilterFiles filters files list based on specific sub-strings
func GenerateRandomBytes ¶
GenerateRandomBytes returns securely generated random bytes.
func GenerateRandomString ¶
GenerateRandomString returns a securely generated random string.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.