Skip to main content

Crate pir_client

Crate pir_client 

Source
Expand description

PIR client library for private Merkle path retrieval.

Provides PirClient which connects to a pir-server instance and retrieves circuit-ready ImtProofData without revealing the queried nullifier to the server.

Structs§

ImtProofData
Circuit-compatible IMT non-membership proof for punctured-range leaves (K=2).
PirClient
PIR client that connects to a pir-server instance over HTTP.
PirClientBlocking
Synchronous wrapper around PirClient for use from non-async code.

Functions§

fetch_proof_local
Perform a complete local PIR proof retrieval without HTTP.