A fork of https://github.com/menonsamir/spiral-rs

Samir Menon 2274e9df9a More threading, fix tests, update README 2 years ago
.vscode 62283c0892 working ntt 2 years ago
client 2274e9df9a More threading, fix tests, update README 2 years ago
spiral-rs 2274e9df9a More threading, fix tests, update README 2 years ago
.gitignore 1986d4cb16 working client 2 years ago
LICENSE e0be0c13c5 working client 2 years ago
README.md 2274e9df9a More threading, fix tests, update README 2 years ago

README.md

Spiral: Fast, High-Rate Single-Server PIR via FHE Composition

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.

Building

  • In spiral-rs/spiral-rs:
    • To build the library spiral-rs, run cargo build --release.
    • To run the library tests, run cargo test.
    • To build the server, run cargo build --release --bin server --features server.
    • To preprocess a database, run cargo build --release --bin preprocess_db.
    • To run the server, run target/release/server dbfile.dbp with the preprocessed database file dbfile.dbp
  • In spiral-rs/client:
    • To build the client for our Wikipedia demo, run wasm-pack build --target web --out-dir static/pkg