#codes #cryptography #erasure #decoding

crate_crypto_internal_eth_kzg_erasure_codes

This crate provides an implementation of erasure encoding and decoding

11 unstable releases (3 breaking)

new 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

#739 in Parser implementations

Download history 2998/week @ 2025-01-12 3781/week @ 2025-01-19 2730/week @ 2025-01-26 3235/week @ 2025-02-02 2865/week @ 2025-02-09 2344/week @ 2025-02-16 2552/week @ 2025-02-23 2066/week @ 2025-03-02 3056/week @ 2025-03-09 2937/week @ 2025-03-16 2601/week @ 2025-03-23 2894/week @ 2025-03-30 3702/week @ 2025-04-06 2021/week @ 2025-04-13 3187/week @ 2025-04-20 4246/week @ 2025-04-27

13,315 downloads per month
Used in rust_eth_kzg

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
~158K SLoC