chalamet_pir 0.5.0

Simple, Stateful, Single-Server Private Information Retrieval for Key-Value Databases
Documentation
1
2
3
4
5
6
7
pub const LWE_DIMENSION: u32 = 1774;

pub const BIT_SECURITY_LEVEL: usize = 128;
pub const SEED_BYTE_LEN: usize = (2 * BIT_SECURITY_LEVEL) / u8::BITS as usize;
pub const HASHED_KEY_BYTE_LEN: usize = (2 * BIT_SECURITY_LEVEL) / u8::BITS as usize;

pub const SERVER_SETUP_MAX_ATTEMPT_COUNT: usize = 100;