ChalametPIR Client
Client Implementation of ChalametPIR: Simple, Stateful, Single-Server Private Information Retrieval for Key-Value Databases.
This crate provides the client-side implementation for the ChalametPIR protocol. It includes functionality for:
- Setting up the PIR client with parameters received from the server.
- Generating private information retrieval (PIR) queries for specific keys.
- Processing responses received from the server to recover the desired value.
Key components:
Client: The main struct for interacting with the PIR client. It handles query generation and response processing.Query: Represents a PIR query, containing the secret vector needed to recover the value from the server's response.
Usage Example
Add these dependencies to your Cargo.toml:
= "=0.8.0"
use ;
[!IMPORTANT] ChalametPIR clients can run in-browser, by enabling
wasmfeature.
[!NOTE] More documentation on ChalametPIR here.