Module lib_gistit::file[][src]

Expand description

The file module

Here we define file structures and methods. It is implemented using tokio so we don’t block progress output during the process.

Structs

Type alias for the fully processed file data

Represents a encrypted gistit file data. This data structure is expected to hold encrypted but not encoded bytes in encrypted_bytes, the nounce which is a 12 bytes randomly generated byte array, and a pointer to the previous unencrypted File handler.

Represents a gistit file handler and some extra data

Traits

Represents the opened file handler

Functions

Type Definitions

Type alias for a base64 encoded and AES256 encrypted file with embedded header