chalametpir_common

Crates.iochalametpir_common
lib.rschalametpir_common
version0.8.0
created_at2025-05-11 18:21:17.200547+00
updated_at2025-07-11 06:02:50.184143+00
descriptionCommon Utilities for ChalametPIR: Private Information Retrieval for Key-Value Databases
homepage
repositoryhttps://github.com/itzmeanjan/ChalametPIR.git
max_upload_size
id1669604
size128,885
Anjan Roy (itzmeanjan)

documentation

README

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.

Commit count: 0

cargo fmt