#elliptic-curve #bls12-381 #kzg #towards #api #protocols #multi-opening

crate_crypto_internal_eth_kzg_bls12_381

This crate provides the internal implementation of the BLS12-381 curve for the Eth KZG project

8 releases

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

#596 in Cryptography

Download history 525/week @ 2024-08-01 767/week @ 2024-08-08 1317/week @ 2024-08-15 2092/week @ 2024-08-22

4,701 downloads per month
Used in 5 crates (4 directly)

MIT license

21KB
336 lines

BLS12-381

Overview

This crate provides a Rust API for the bls12-381 elliptic curve. The API is tailored towards providing the necessary functionality for the KZG multi-opening protocol that is present in the workspace that this crate is situated, so no guarantees are made regarding general purpose.

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 multi-opening protocol to crates.io. Nevertheless, installation of this crate can be done by adding this to your Cargo.toml:

[dependencies]
crate_crypto_internal_eth_kzg_bls12_381 = "0.1.0"

Dependencies

~4.5MB
~154K SLoC