A fork of https://github.com/menonsamir/spiral-rs
Ian Goldberg d6d546d056 Use interior mutability to allow multithreaded use of Client | пре 2 година | |
---|---|---|
.vscode | пре 2 година | |
client | пре 2 година | |
spiral-rs | пре 2 година | |
.gitignore | пре 2 година | |
LICENSE | пре 2 година | |
README.md | пре 2 година | |
params_store.json | пре 2 година |
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