Giter Site home page Giter Site logo

pointproofs's Introduction

Pointproofs

Build Status

This is Algorand's implementation of Pointproofs: Aggregating Proofs for Multiple Vector Commitments. This implementation uses bls12-381 curve.

Documentation

Code status

  • Version 0.1.
  • This code is NOT production-ready yet. It passed two external audits, but additional auditing and testing is required before deployment

Use this library directly

  • Install rust and cargo toolchain
  • Build library: cargo build --release
  • Run example: cargo run
  • Run tests: cargo test [-- --ignore] [--release]
  • Benchmark: cargo bench
    • see benches folder for more options
  • Documentation: cargo doc --open

C wrapper

  • generate the header: make
  • test C wrapper: make test

Dependency

  • Pairing-plus library: stable dev.
    • A fork of zkcrypto's pairing library; with additional functions such as hash to groups and performance improvements such as sum of product.
  • pointproofs-paramgen: stable dev
    • This crate is used to generate the so called common reference string in an MPC manner.
    • A sample CRS is provided with the code for testing purpose.

License

MIT

Citation

@misc{Algo20,
    author    = {Algorand},
    title     = {Source code for Pointproofs},
    note      = "\url{https://github.com/algorand/pointproofs}",
    year      = {2020},
}

Performance

  • dimension = 1024
  • AWS with Intel(R) Xeon(R) CPU E5-2686 v4 @ 2.30 GHz
operation cost
commit_new 54.34 ms
proof_new 54.41 ms
single commit 8 proof aggregate 1.55 ms
verification (with proof deserialize) 4.69 ms

See here for more data.

pointproofs's People

Contributors

zhenfeizhang avatar reyzin avatar zeldovich avatar derbear avatar 3for avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.