#blockchain #erasure #ethereum #reed-solomon #sampling #availability #decoding

crate_crypto_internal_eth_kzg_erasure_codes

This crate provides an implementation of erasure encoding and decoding

7 releases

0.5.1 Aug 27, 2024
0.5.0 Aug 27, 2024
0.4.1 Aug 13, 2024
0.3.4 Aug 5, 2024

#13 in #reed-solomon

Download history 473/week @ 2024-08-02 1052/week @ 2024-08-09 1373/week @ 2024-08-16 2041/week @ 2024-08-23 1932/week @ 2024-08-30 1293/week @ 2024-09-06

6,949 downloads per month
Used in rust_eth_kzg

MIT license

70KB
1K SLoC

Erasure Codes

Overview

This crate provides a Rust API for Erasure codes. It uses Reed solomon encoding, however the decoding algorithm and the API in general is tailored the particular use case of Data Availability sampling in the Ethereum Blockchain. It is not a general purpose crate for unique decoding.

Installation

It is not advised to install this crate as part of an independent project. It is only published to crates.io so that we can publish the eip7594 crate to crates.io. Nevertheless, installation of this crate can be done by adding this to your Cargo.toml:

[dependencies]
crate_crypto_internal_eth_kzg_erasure_codes = "0.1.0"

Dependencies

~4.5MB
~156K SLoC