Expand description
This crate provides an encoder/decoder for Reed-Solomon erasure code.
Please note that erasure coding means errors are not directly detected or corrected, but missing data pieces (shards) can be reconstructed given that the configuration provides high enough redundancy.
You will have to implement error detection separately (e.g. via checksums) and simply leave out the corrupted shards when attempting to reconstruct the missing data.
Modules§
- galois_
8 - Implementation of GF(2^8): the finite field with 2^8 elements.
- galois_
16 - GF(2^16) implementation.
Macros§
- convert_
2D_ slices - Makes it easier to work with 2D slices, arrays, etc.
- shards
- Constructs vector of shards.
Structs§
- Reed
Solomon - Reed-Solomon erasure code encoder/decoder.
- Shard
ByShard - Bookkeeper for shard by shard encoding.
Enums§
Traits§
- Field
- A finite field to perform encoding over.
- Reconstruct
Shard - Something which might hold a shard.