[−][src]Module asuran_core::repository::chunk
The Chunk is the lowest level of abstraction in an asuran repository.
Chunks are raw binary blobs, optionally compressed and encrypted, and keyed by an HMAC of their plain text contents, and tagged with an HMAC of their encrypted contents (different keys are used for both HMACs).
They can contain any arbitrary sequence of bytes.
Structs
Chunk | A binary blob, ready to be commited to storage |
ChunkBody | A split representation of a |
ChunkHeader | A split representation of a |
ChunkID | Key used for indexing a |
ChunkSettings | Encapsulates the Encryption, Compression, and HMAC tags for a chunk |
UnpackedChunk | A binary blob that has not yet undergone encryption, compression, or |
Enums
ChunkError | Error for all the various things that can go wrong with handling chunks |