Crate commonware_coding

Crate commonware_coding 

Source
Expand description

Encode data to enable recovery from a subset of fragments.

§Status

commonware-coding is ALPHA software and is not yet recommended for production use. Developers should expect breaking changes and occasional instability.

Structs§

Config
Configuration common to all encoding schemes.
NoCoding
A trivial scheme which performs no coding at all.
ReedSolomon
A SIMD-optimized Reed-Solomon coder that emits chunks that can be proven against a bmt.

Enums§

NoCodingError
ReedSolomonError
Errors that can occur when interacting with the Reed-Solomon coder.

Traits§

Scheme
A scheme for encoding data into pieces, and recovering the data from those pieces.
ValidatingScheme
A marker trait indicating that Scheme::check proves validity of the encoding.