{"repo":"Giri-Aayush/zkp-authentication","free":true,"listed":false,"github":"https://github.com/Giri-Aayush/zkp-authentication","clone":"git clone https://github.com/Giri-Aayush/zkp-authentication.git","description":"Implementing robust authentication via a gRPC interface utilizing Zero-Knowledge Proof (ZKP) protocols in Rust.","language":"Rust","stars":10,"topics":["grpc","rust","authentication","cryptography","zero-knowledge"],"license":null,"category":"auth-billing-email","readme_excerpt":"ZKP Authentication Prove who you are without revealing what you know. Chaum-Pedersen zero-knowledge proof authentication over gRPC, written in Rust. -81ecff?style=flat-square&labelColor=0a0a0f&color=81ecff) --- The problem Traditional authentication sends passwords — hashed or not — across the wire. If the server is compromised, an attacker gets credential material. Even challenge-response schemes often leak enough for offline attacks. Zero-knowledge proofs flip the model: the prover demonstrates knowledge of a secret without ever transmitting it . The server learns only one bit — \"this person knows the password\" — and nothing else. --- How it works This project implements the Chaum-Pedersen protocol — a discrete-logarithm-based ZKP scheme — over a gRPC interface. At no point does x (the secret) leave the client. The server only ever sees commitments and the solution to a random challenge. --- Cryptographic parameters The implementation uses RFC 5114 standard parameters: Parameter Size Description ----------- ------ ------------- p 1024-bit Safe prime modulus q 160-bit Prime-order subgroup size α 1024-bit Generator of the subgroup β derived Second generator ( α^i mod p ) Tests cover toy examples (23-bit), 1024-bit, and 2048-bit parameter sets. --- Getting started Prerequisites - Rust (2021 edition) - protobuf-compiler ( apt install protobuf-compiler on Linux, brew install protobuf on macOS) - Docker (optional, for containerized deployment) Run locally The client will prompt f","default_branch":null,"files":null,"tree":[],"storefront":"/r/Giri-Aayush","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Giri-Aayush/zkp-authentication/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}