UndeadRat22 / kzg10-rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

KZG10 (Kate) Polynomial Commitments

About

This is a KZG10 implmentation in Rust, heavily based on the Go implementation by protolambda https://github.com/protolambda/go-kzg.

This repo also contains Herumi MCL, as I could not find a way to make the cargo crate for mcl_rust work, and it does seem abandoned. It can be found here: https://github.com/herumi/mcl-rust.

How to test/run

First follow the steps in Herumi mcl (refer to the link above), then just run the following code in checked out dir:

cargo test -- --test-threads 1 --nocapture

To run benchmarks, just run

cargo bench

About

License:MIT License


Languages

Language:Rust 100.0%