Documentation
¶
Overview ¶
Package sync provides encryption and decryption for .env files.
Index ¶
- func Decrypt(encoded []byte, password string) ([]byte, error)
- func DecryptFile(inPath, outPath, password string) error
- func DeriveKey(password string, salt []byte) ([]byte, error)
- func Encrypt(plaintext []byte, password string) ([]byte, error)
- func EncryptFile(inPath, outPath, password string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecryptFile ¶
DecryptFile decrypts a file and writes the result to outPath.
func EncryptFile ¶
EncryptFile encrypts a file and writes the result to outPath.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.