package
2.5.1
Repository: https://github.com/rfjakob/gocryptfs.git
Documentation: pkg.go.dev

# Functions

Create - create a new config with a random key encrypted with "Password" and write it to "Filename".
Load loads and parses the config file at "filename".
LoadAndDecrypt - read config file from disk and decrypt the contained key using "password".
NewScryptKDF returns a new instance of ScryptKDF.

# Constants

ConfDefaultName is the default configuration file name.
ConfReverseName is the default configuration file name in reverse mode, the config file gets stored next to the plain-text files.
FlagAESSIV selects an AES-SIV based crypto backend.
FlagDirIV indicates that a per-directory IV file is used.
FlagEMENames indicates EME (ECB-Mix-ECB) filename encryption.
FlagFIDO2 means that "-fido2" was used when creating the filesystem.
FlagGCMIV128 indicates 128-bit GCM IVs.
FlagHKDF enables HKDF-derived keys for use with GCM, EME and SIV instead of directly using the master key (GCM and EME) or the SHA-512 hashed master key (SIV).
FlagLongNameMax sets a custom name length limit, names longer than that will be hashed.
FlagLongNames allows file names longer than 175 bytes.
FlagPlaintextNames indicates that filenames are unencrypted.
FlagRaw64 enables raw (unpadded) base64 encoding for file names.
FlagXChaCha20Poly1305 means we use XChaCha20-Poly1305 file content encryption.
ScryptDefaultLogN is the default scrypt logN configuration parameter.

# Structs

ConfFile is the content of a config file.
CreateArgs exists because the argument list to Create became too long.
FIDO2Params is a structure for storing FIDO2 parameters.
ScryptKDF is an instance of the scrypt key deriviation function.