# Functions
CreateConfFile - create a new config with a random key encrypted with "password" and write it to "filename".
LoadConfFile - read config file from disk and decrypt the contained key using password.
No description provided by the author
No description provided by the author
No description provided by the author
ParseHeader - parse "buf" into fileHeader object.
Get "n" random bytes from /dev/urandom or panic.
RandomHeader - create new fileHeader object with random Id.
Return a secure random uint64.
WriteDirIV - create diriv file inside "dir" (absolute ciphertext path) This function is exported because it is used from pathfs_frontend, main, and also the automated tests.
# Constants
No description provided by the author
The dot "." is not used in base64url (RFC4648), hence we can never clash with an encrypted file.
No description provided by the author
No description provided by the author
identical to AES block size.
No description provided by the author
No description provided by the author
No description provided by the author
Understood Feature Flags.
Current on-disk-format version.
128 bit random file id.
Total header length.
uint16.
AES-256.
No description provided by the author
No description provided by the author
1 << 16 uses 64MB of memory, takes 4 seconds on my Atom Z3735F netbook.
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
A simple one-entry DirIV cache.
No description provided by the author