Documentation ¶
Index ¶
- Variables
- func Decrypt(pw string, kf []io.Reader, r io.Reader, w io.Writer, skipReedSolomon bool, ...) (bool, error)
- func EncryptHeadless(in io.Reader, password string, keyfiles []io.Reader, settings Settings, ...) ([]byte, error)
- func HeaderSize(settings Settings) int
- func PrependHeader(headless io.Reader, headed io.Writer, header []byte) error
- type Settings
- type Update
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrCorrupted = errors.New("data corrupted beyond repair")
View Source
var ErrDuplicateKeyfiles = errors.New("duplicate keyfiles")
View Source
var ErrHeaderUnparsable = errors.New("header unparsable")
View Source
var ErrIncorrectKeyfiles = errors.New("incorrect keyfiles")
View Source
var ErrIncorrectPassword = errors.New("incorrect password")
View Source
var ErrKeyfilesNotRequired = errors.New("keyfiles not required")
View Source
var ErrKeyfilesRequired = errors.New("missing required keyfiles")
Functions ¶
func EncryptHeadless ¶
func HeaderSize ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.