#elliptic-curve #bls12-381 #kzg #protocols #api #towards #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

9 releases

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

#1179 in Cryptography

Download history 338/week @ 2024-07-29 317/week @ 2024-08-05 1239/week @ 2024-08-12 1401/week @ 2024-08-19 2268/week @ 2024-08-26 1778/week @ 2024-09-02 1216/week @ 2024-09-09 1660/week @ 2024-09-16 1486/week @ 2024-09-23 1133/week @ 2024-09-30 1204/week @ 2024-10-07 2114/week @ 2024-10-14 1369/week @ 2024-10-21 1724/week @ 2024-10-28

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

MIT license

37KB
672 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
~157K SLoC