Giter Site home page Giter Site logo

pir-test's Introduction

Test framework for XPIR and SealPIR

Framework to measure latency and throughput of xpir-rust and sealpir-rust.

Compiling test framework

There are currently some issues with the RPC library that we use (tarpc) on the latest Rust compiler. We have tested this code on Rust 1.29.0. Use rustup override set nightly-2018-07-30 to set the rust compiler to the exact version that we have tested.

You must first install xpir-rust and sealpir-rust as described in the respective repositories (see above). Add the corresponding paths to Cargo.toml (currently it assumes both repositories are in the directory .. relative to the directory of the pir-test repository). Run cargo build --release.

After compiling, there will be 4 binaries in the target/release/ directory: client_sealpir, client_xpir, server_sealpir, and server_xpir. You can run them with the --help flag for the available options.

Reproducing the results in the paper

See the client_master.rb and server_master.rb scripts. You can use these scripts to launch a PIR server and one or more PIR clients.

pir-test's People

Contributors

sga001 avatar

Watchers

 avatar

Forkers

pung-project

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.