Skip to content
This repository has been archived by the owner on Aug 17, 2018. It is now read-only.

This was a pure-Rust implementation of a rangeproof scheme. It is now obsoleted by Bulletproofs.

Notifications You must be signed in to change notification settings

dalek-cryptography/dalek-rangeproofs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dalek-rangeproofs

This repo was:

A pure-Rust implementation of the Back-Maxwell rangeproof scheme defined in "Confidential Assets" (2017) by Poelstra, Back, Friedenbach, Maxwell, Wuille.

THIS IS A PROOF-OF-CONCEPT OF A SCHEME WHICH IS NOW OBSOLETE, USE BULLETPROOFS

Warning

This code has not yet received sufficient peer review by other qualified cryptographers to be considered in any way, shape, or form, safe.

USE AT YOUR OWN RISK

Documentation

Extensive documentation is available here.

Installation

To install, add the following to the dependencies section of your project's Cargo.toml:

dalek-rangeproofs = "^0.1"

Then, in your library or executable source, add:

extern crate dalek_rangeproofs

Tests and benchmarks

Tests may be run with:

cargo test

Benchmarks may be taken with:

cargo bench --features 'bench'

Pre-Release TODOs

  • move RangeProof code to back_maxwell.rs module
  • double check documentation
  • double check code
  • don't use any yolocrypto features (i.e. stabilise decaf in curve25519-dalek)
  • make a CONTRIBUTING.md

Future TODOs

  • support other rangeproof schemes?
  • make hash function choice configurable?
  • make the code generic w.r.t. to a future Group trait

About

This was a pure-Rust implementation of a rangeproof scheme. It is now obsoleted by Bulletproofs.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages