#gpu #lwe-pir #chalamet-pir #priv-info-retrieval #frodo-pir #database

chalametpir_common

Common Utilities for ChalametPIR: Private Information Retrieval for Key-Value Databases

1 unstable release

Uses new Rust 2024

new 0.7.0 May 11, 2025

#579 in Concurrency


Used in 2 crates

MPL-2.0 license

125KB
2K SLoC

ChalametPIR Common

Common Utilities for ChalametPIR: Private Information Retrieval for Key-Value Databases.

This crate provides common utilities and data structures used by both the client and server implementations of the ChalametPIR protocol. It includes:

  • Matrix operations: A Matrix struct for efficient matrix manipulation, including multiplication and addition.
  • Binary Fuse Filter: Implementation of Binary Fuse Filters for encoding key-value databases.
  • Error handling: A unified ChalametPIRError enum for reporting errors across the client and server.
  • Parameters: Constants and parameters used in the ChalametPIR protocol.

[!NOTE] This crate is not supposed to be used by you on its own, rather it is a common dependency of both chalametpir_server and chalametpir_client crates.

[!IMPORTANT] This crate is Web Assembly environment friendly. So you can use it in wasm family of targets, by enabling wasm feature.

[!NOTE] More documentation on ChalametPIR here.

Dependencies

~2.5MB
~47K SLoC