ChalametPIR Server
Server Implementation of ChalametPIR: Simple, Stateful, Single-Server Private Information Retrieval for Key-Value Databases.
This crate provides the server-side implementation for the ChalametPIR protocol. It includes functionality for:
- Setting up the PIR server with a key-value database.
- Responding to PIR queries from clients s.t. the server itself doesn't learn what the client looked up.
Key components:
Server: The main struct for handling PIR requests. It contains the encoded database and methods for responding to client queries.
Usage Example
Add these dependencies to your Cargo.toml:
= "=0.9.1"
= "=0.9.0"
= "=0.8.0"
use HashMap;
use ;
use *;
use ChaCha8Rng;
[!IMPORTANT] This crate allows you to offload compute-heavy server-setup phase to a GPU, if you enable
gpufeature.
[!NOTE] More documentation on ChalametPIR here.