Expand description
§Carbonado: An apocalypse-resistant data storage format for the truly paranoid.
Carbonado is an archival format for encrypted, durable, compressed, provably replicated consensus-critical data, without need for a blockchain or powerful hardware. Decoding and encoding can be done in the browser through WebAssembly, built into remote nodes on P2P networks, kept on S3-compatible cloud storage, or locally on-disk as a single highly portable flat file container format.
Re-exports§
Modules§
- For details on Carbonado formats and their uses, see the Carbonado Format bitmask constant.
- Error types
- File helper methods.
- See structs::EncodeInfo for various statistics gatthered in the encoding step.
- Various utilities to assist with Carbonado encoding steps.
Functions§
- Decode data from Carbonado format in reverse order:
bao -> zfec -> ecies -> snap
- Encode data into Carbonado format, performing compression, encryption, adding error correction codes, and stream verification encoding, in that order.
- Extract a 1KB slice of a Bao stream at a specific index.
- Scrub zfec-encoded data, correcting flipped bits using forward error correction codes. Returns an error when either valid data cannot be provided, or data is already valid.
- Verify a number of 1KB slices of a Bao stream starting at a specific index.