| Crates.io | rsarc |
| lib.rs | rsarc |
| version | 0.1.0 |
| created_at | 2025-06-16 02:27:31.131291+00 |
| updated_at | 2025-06-16 02:27:31.131291+00 |
| description | Reed-Solomon erasure coding utility for repairing file corruption with O(n log n) performance. |
| homepage | |
| repository | https://github.com/theo543/rsarc |
| max_upload_size | |
| id | 1713846 |
| size | 105,542 |
Implementation of Reed-Solomon erasure coding for file corruption detection and repair using $O(n \log n)$ algorithms introduced in the paper Novel Polynomial Basis and Its Application to Reed-Solomon Erasure Codes.
test: Runs an end-to-end test of the program.encode <input file> <output file> <block bytes> <parity blocks>: Generates parity data for the input file.verify <input file> <parity file>: Check for corruption in the input and parity files.repair <input file> <parity file>: Attempt to find and repair corruption in the input and parity files, if there is enough parity data and the metadata is not corrupt.reassemble <input file> <parity file> <reassembled input file> <reassembled parity file>: Reassemble the input and parity files after an insertion/deletion error (very unlikely to happen).