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