Documentation ¶
Index ¶
- func Decrypt(encryptedBase64 string, key []byte) (string, error)
- func DecryptFile(sourceFilePath string, targetFilePath string, key []byte) error
- func DecryptFromFile(inputFilePath string, key []byte) (string, error)
- func DecryptStdin(key []byte) (string, error)
- func DecryptToFile(input string, outputFilePath string, key []byte, append bool) error
- func Encrypt(input string, key []byte) (string, error)
- func EncryptFile(sourceFilePath string, targetFilePath string, key []byte) error
- func EncryptFromFile(inputFilePath string, key []byte) (string, error)
- func EncryptStdin(key []byte) (string, error)
- func EncryptToFile(input string, outputFilePath string, key []byte, append bool) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecryptFile ¶
Read from a source text file, decrypt, and write to a target file
func DecryptFromFile ¶
Decrypt data read from a text file
func DecryptToFile ¶
Decrypt an input string to a file, with an option to append or overwrite
func EncryptFile ¶
Read from a source text file, encrypt, and write to a target file
func EncryptFromFile ¶
Encrypt data read from a text file
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.