Crates.io | chalametpir_common |
lib.rs | chalametpir_common |
version | 0.8.0 |
created_at | 2025-05-11 18:21:17.200547+00 |
updated_at | 2025-07-11 06:02:50.184143+00 |
description | Common Utilities for ChalametPIR: Private Information Retrieval for Key-Value Databases |
homepage | |
repository | https://github.com/itzmeanjan/ChalametPIR.git |
max_upload_size | |
id | 1669604 |
size | 128,885 |
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
struct for efficient matrix manipulation, including multiplication and addition.ChalametPIRError
enum for reporting errors across the client and server.[!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.