#evaluation #polynomial #open #kzg #multi #proof #fk20

crate_crypto_kzg_multi_open_fk20

This crate provides a multi-opening algorithm for KZG10 using FK20

12 releases (4 breaking)

0.5.2 Sep 24, 2024
0.5.1 Aug 27, 2024
0.4.1 Aug 13, 2024
0.3.4 Aug 5, 2024
0.1.0 May 21, 2024

#7 in #kzg

Download history 302/week @ 2024-07-29 311/week @ 2024-08-05 1234/week @ 2024-08-12 1393/week @ 2024-08-19 2143/week @ 2024-08-26 1772/week @ 2024-09-02 1208/week @ 2024-09-09 1652/week @ 2024-09-16 1459/week @ 2024-09-23 1117/week @ 2024-09-30 1200/week @ 2024-10-07 2105/week @ 2024-10-14 1366/week @ 2024-10-21 1716/week @ 2024-10-28 1099/week @ 2024-11-04

6,322 downloads per month
Used in 2 crates

MIT license

160KB
2.5K SLoC

KZG Multi Open

Overview

This crate provides a Rust API for the FK20 polynomial commitment scheme. FK20 allows you to commit to a polynomial over some field with prime characteristics, and later on reveal multiple evaluations of that polynomial, along with an (opening) proof that attests to the correctness of those evaluations.

The API is opinionated and although it is generic, it also does not support every use case. It has been made with the Ethereum Data Availability Sampling vision in mind. One can see that for example, we allow evaluations over particular cosets, where the order of the elements in each coset and the order of the cosets themselves are fixed. (Even though we test internally with permutations of the cosets)

Installation

Installation of this crate can be done by adding this to your Cargo.toml:

[dependencies]
crate_crypto_kzg_multi_open_fk20 = "0.1.0"

Dependencies

~5MB
~170K SLoC