#encoding-decoding #reed-solomon-erasure #codes #unique #part #blockchain #ethereum

crate_crypto_internal_eth_kzg_erasure_codes

This crate provides an implementation of erasure encoding and decoding

11 unstable releases (3 breaking)

0.6.0 May 2, 2025
0.5.4 Feb 21, 2025
0.5.2 Sep 24, 2024
0.5.1 Aug 27, 2024
0.3.4 Aug 5, 2024

#6 in #reed-solomon-erasure

Download history 5106/week @ 2025-06-06 4890/week @ 2025-06-13 4389/week @ 2025-06-20 2947/week @ 2025-06-27 2873/week @ 2025-07-04 2834/week @ 2025-07-11 2858/week @ 2025-07-18 2440/week @ 2025-07-25 2469/week @ 2025-08-01 3149/week @ 2025-08-08 1880/week @ 2025-08-15 1343/week @ 2025-08-22 1755/week @ 2025-08-29 1290/week @ 2025-09-05 1203/week @ 2025-09-12 1077/week @ 2025-09-19

5,615 downloads per month

MIT license

125KB
2K 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

~3.5–4.5MB
~160K SLoC