Code Monkey home page Code Monkey logo

rsa-accumulator's Introduction

RSA-accumulator

Cryptographic accumulator based on the strong RSA assumption [Bd94, BP97, CL02, BBF18].
Generating and verifying proofs in Python, verifier in Solidity.

Prerequesites

  • Python3
  • Node.js 10.14.0, NPM

Unit testing

$ python3 -m unittest test

Benchmarks

  • Compare performance (compared with Python Merkle Tree [1]):
$ python3 test-performance.py
  • Compare gas results (compared with Merkle Proof verifier [2]) :
$ npm install
$ node test-gas.js

The tests above generate relevant data files at the generated directory.

[1] https://github.com/Tierion/pymerkletools
[2] https://github.com/ameensol/merkle-tree-solidity

References

[Bd94] One-way accumulators: A decentralized alternative to digital sinatures, Josh Cohen Benaloh and Michael de Mare.
[BP97] Collision-free accumulators and fail-stop signature schemes without trees, Niko Bari and Birgit Pfitzmann.
[CL02] Dynamic accumulators and application to efficient revocation of anonymous credentials, Jan Camenisch and Anna Lysyanskaya.
[BBF18] Batching Techniques for Accumulators with Applications to IOPs and Stateless Blockchains, Dan Boneh, Benedikt Bünz, Benjamin Fisch.

rsa-accumulator's People

Contributors

oleiba avatar

Watchers

James Cloos 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.