Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Chunk ¶
type Chunk struct { Uuid string // unique id, gdrive resource id ClearHash string // hash of cleartext bytes, prefixed with the algorithm used Length uint64 // length of actual content without padding and prefixes and stuff, used to truncate file after decryption KeyInfo []byte // key information: secret key and info about which encryption algorighm is used CipherHash string // hash of ciphertext bytes, prefixed with the algorithm used }
type Record ¶
type Revision ¶
type Revision struct { Uuid string // unique id Hash string // cleartext hash prefixed with the algorithm used Size uint64 // byte size of the clear text file Date time.Time // date uploaded Chunks []Chunk // list of encrypted blobs that make up this file version }
func NewRevision ¶ added in v0.7.0
Click to show internal directories.
Click to hide internal directories.