Documentation
¶
Index ¶
- func DecryptFile(filePath string, key []byte) error
- func Encrypt(password string) string
- func EncryptFile(plainText []byte, key []byte) ([]byte, error)
- func GenerateUUID() (string, error)
- func ReadFileContent(file *multipart.FileHeader) ([]byte, error)
- func SaveEncryptedFile(file *multipart.FileHeader, destDir string, key []byte) (string, error)
- func SplitBySpaceComma(input []string) []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecryptFile ¶
func GenerateUUID ¶
func ReadFileContent ¶
func ReadFileContent(file *multipart.FileHeader) ([]byte, error)
func SaveEncryptedFile ¶
func SplitBySpaceComma ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.