A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/dalek-cryptography/zkp below:

dalek-cryptography/zkp: Experimental zero-knowledge proof compiler in Rust macros

zkp: a toolkit for Schnorr proofs

This crate has a toolkit for Schnorr-style zero-knowledge proofs, instantiated using the ristretto255 group.

It provides two levels of API:

Examples of how to use the API can be found in the library's tests directory.

Currently, the examples include:

To enable the define_proof macro, import the crate like so:

#[macro_use]
extern crate zkp;

The nightly feature enables nightly-specific features. It is required to build the documentation.

zkp provides the following pass-through features to select a curve25519-dalek backend:

The debug-transcript feature is for development and testing, and prints a log of the data fed into the proof transcript.

The define_proof macro builds benchmarks for the generated proof statements, but because these are generated in the client crate (where the macro expansion happens), they need an extra step to be enabled.

To enable generated benchmarks in your crate, do the following:

THIS IMPLEMENTATION IS NOT YET READY FOR PRODUCTION USE

While I expect the 1.0 version to be largely unchanged from the current code, for now there are no stability guarantees on the proofs, so they should not yet be deployed.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4