Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsEncrypted ¶
IsEncrypted() tests if target file is encrypted
Types ¶
type Encrypter ¶
type Encrypter struct {
// contains filtered or unexported fields
}
Encrypter is used to encrypt/decrypt backups
func New ¶
func New(log *slog.Logger, config *EncrypterConfig) (*Encrypter, error)
New creates a new Encrypter with the given key. The key should be 32 bytes (AES-256)
type EncrypterConfig ¶
Click to show internal directories.
Click to hide internal directories.