A fork of https://github.com/menonsamir/spiral-rs
Samir Menon 176e396d7f Remove deterministic client | 2 years ago | |
---|---|---|
.vscode | 2 years ago | |
client | 2 years ago | |
spiral-rs | 2 years ago | |
.gitignore | 2 years ago | |
LICENSE | 2 years ago | |
README.md | 2 years ago | |
params_store.json | 2 years ago |
A demo of this work that enables access to Wikipedia over PIR is available at https://spiralwiki.com. This is an implementation of our paper "Spiral: Fast, High-Rate Single-Server PIR via FHE Composition", available here.
WARNING: This is research-quality code; it has not been checked for side-channel leakage or basic logical or memory safety issues. Do not use this in production.
spiral-rs/spiral-rs
:
cargo run --release --bin e2e 20 256
.spiral-rs
, run cargo build --release
.cargo test
.cargo build --release --bin server --features server
.cargo run --release --bin preprocess_db dbfile.db dbfile.dbp
.target/release/server dbfile.dbp
with the preprocessed database file dbfile.dbp
spiral-rs/client
:
wasm-pack build --target web --out-dir static/pkg