GithubHelp home page GithubHelp logo

plonky2-ed25519's Introduction

plonky2-ed25519

This repository contains SNARK verification circuits of a digital signature scheme Ed25519 implemented with Plonky2.

Run benchmarks

RUSTFLAGS=-Ctarget-cpu=native cargo run --package plonky2_ed25519 --bin plonky2_ed25519 --release

Benchmark on a Macbook Pro (M1)

Constructing inner proof with 171519 gates
[INFO  plonky2::plonk::circuit_builder] Degree before blinding & padding: 178959
[INFO  plonky2::plonk::circuit_builder] Degree after blinding & padding: 262144
[INFO  plonky2::util::timing] 30.6725s to prove
[INFO  plonky2::util::timing] 0.0071s to verify
[INFO  plonky2_ed25519] Proof length: 204040 bytes
[INFO  plonky2_ed25519] 0.0086s to compress proof
[INFO  plonky2_ed25519] Compressed proof length: 188558 bytes
Constructing inner proof with 171519 gates
[INFO  plonky2::plonk::circuit_builder] Degree before blinding & padding: 178959
[INFO  plonky2::plonk::circuit_builder] Degree after blinding & padding: 262144
[INFO  plonky2::util::timing] 30.8669s to prove
[INFO  plonky2::util::timing] 0.0070s to verify
[INFO  plonky2_ed25519] Proof length: 204040 bytes
[INFO  plonky2_ed25519] 0.0085s to compress proof
[INFO  plonky2_ed25519] Compressed proof length: 187197 bytes
[INFO  plonky2::plonk::circuit_builder] Degree before blinding & padding: 12086
[INFO  plonky2::plonk::circuit_builder] Degree after blinding & padding: 16384
[INFO  plonky2::util::timing] 1.0721s to prove
[INFO  plonky2_ed25519] Proof length: 146348 bytes
[INFO  plonky2_ed25519] 0.0057s to compress proof
[INFO  plonky2_ed25519] Compressed proof length: 135653 bytes
[INFO  plonky2_ed25519] Single recursion proof degree 16384 = 2^14
[INFO  plonky2::plonk::circuit_builder] Degree before blinding & padding: 4364
[INFO  plonky2::plonk::circuit_builder] Degree after blinding & padding: 8192
[INFO  plonky2::util::timing] 0.5072s to prove
[INFO  plonky2_ed25519] Proof length: 132816 bytes
[INFO  plonky2_ed25519] 0.0051s to compress proof
[INFO  plonky2_ed25519] Compressed proof length: 120237 bytes
[INFO  plonky2_ed25519] Double recursion proof degree 8192 = 2^13

plonky2-ed25519's People

Contributors

sai-deng 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.