1 unstable release
Uses new Rust 2024
new 0.7.0 | May 11, 2025 |
---|
#579 in Concurrency
Used in 2 crates
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
andchalametpir_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