Skip to content

JohnBasrai/zkp-cp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chaum-Pedersen Zero Knowledge Proof in Rust

Uses gRPC client/server for authentication

Rust crates directly used

  • tokio Rust' asynchronous runtime, similar to ASIO for C++.
  • Tokio Is a tool that provides the building blocks for writing network applications without compromising speed. It includes a stack of various components, such as Hyper, Tonic, Tower, and Mio, for different needs and scenarios.
  • tonic Is a Rust implementation of gRPC
  • clap Provides powerful command line argument parsing
  • anyhow Provides better error handling

Building

cargo build --release --bin client --bin server

Running

In one shell window run command

cargo run --release --bin server

In a second shell window run command

cargo run --release --bin client -- --user "UserName" --password "Password"

You shouldn't crate a real program that takes password on the command line but this is a demo only.

Containerization

Work in progress.

About

Chaum-Pedersen Zero Knowledge Proof

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages