Documentation ¶
Index ¶
- Constants
- Variables
- func Decrypt(key, encoded []byte) ([]byte, error)
- func DecryptFile(key []byte, encryptedFilePath, clearFilePath string) error
- func Encrypt(key, data []byte) ([]byte, error)
- func EncryptFile(key []byte, clearFilePath, encryptedFilePath string) error
- func HashOfFile(filePath string) (string, error)
- func IsExisting(filePath string) (bool, error)
- func ProcessFile(key []byte, filePath string, force int) (string, error)
- func Scan(key []byte, folder string, scanmode int, mode int, force int) error
Constants ¶
View Source
const ( EncryptedExtension = ".cryptem" Unset = iota ModeEncrypt ModeDecrypt ScanRecursive ScanLocal ForceNothing ForceDelete ForceOverwrite ForceDeleteAndOverwrite )
Variables ¶
View Source
var ErrFileExist = errors.New("file exists")
Functions ¶
func DecryptFile ¶
func EncryptFile ¶
func HashOfFile ¶
func IsExisting ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.