Giter Club home page Giter Club logo

libzerocoin's Introduction

Introduction

This codebase has been migrated to

  • use libsodium and gmp
  • stop using OpenSSL, Boost and secp256k1

For previous version based on OpenSSL/Boost/secp256k1, these were the timings on a particular machine

  • Mint time Per coin: 5.004 s
  • Accumulator Per Element: 1.124 s
  • Witness Per Element: 0.915 s

With Libsodium/gmp

  • Mint time Per coin: 0.154 s
  • Accumulator Per Element: 0.039 s
  • Witness Per Element: 0.038 s

WARNING

Refactored Libzerocoin Code - Still not ready for PRODUCTION USE

libzerocoin is a C++ library that implements the core cryptographic routines of the Zerocoin protocol. Zerocoin is a distributed anonymous cash extension for Bitcoin-type (hash chain based) protocols. The protocol uses zero knowledge proofs to implement a fully decentralized coin laundry.

The Zerocoin protocol is provably secure and uses well-studied cryptographic primitives. For a complete description of the protocol, see the white paper published in the IEEE Security & Privacy Symposium (2013) and referenced below.

Overview of the Library

libzerocoin implements the core cryptographic operations of Zerocoin. These include:

  • Parameter generation
  • Coin generation ("Minting")
  • Coin spending (generation of a zero knowledge proof)
  • Accumulator calculation
  • Coin and spend proof verification

This library does not implement the full Zerocoin protocol. In addition to the above cryptographic routines, a full Zerocoin implementation requires several specialized Zerocoin messages, double spending checks, and some additional coin redemption logic that must be supported by all clients in the network. libzerocoin does not provide routines to support these functions, although an overview is provided on the Integrating with Bitcoin clients page.

Outside links

libzerocoin's People

Contributors

matthewdgreen avatar imichaelmiers avatar jonspock avatar jhasse avatar jmcorgan avatar bsloane1650 avatar christinalgarman avatar gnos1s avatar presstab avatar

Stargazers

Cave Spectre 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.