A fork of https://github.com/menonsamir/spiral-rs
Ian Goldberg d6d546d056 Use interior mutability to allow multithreaded use of Client | 2 yıl önce | |
---|---|---|
.vscode | 2 yıl önce | |
client | 2 yıl önce | |
spiral-rs | 2 yıl önce | |
.gitignore | 2 yıl önce | |
LICENSE | 2 yıl önce | |
README.md | 2 yıl önce | |
params_store.json | 2 yıl önce |
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