Skip to content

KoffeinFlummi/hybridpir

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

HybridPIR

Rust implementation of a hybrid Private Information Retrieval (PIR) protocol, using CIP-PIR as the multi-server, and SealPIR as the single-server protocol, including Android example.

CIP-PIR: implementation, paper

SealPIR: implementation, paper

Dependencies

  • Rust (rustup)
  • Android NDK 21.0.6113669

Setup

  • copy/link/merge cargo-config.toml into ~/.cargo/config, adjusting paths as necessary
  • $ rustup target add aarch64-linux-android armv7-linux-androideabi
  • $ ./build.sh to build Rust project and create libraries for Android project
  • Run $ ./gradlew installRunDebug in android/ to build and run APK

Troubleshooting

  • libc++_shared.so errors: Adjust android/app/src/main/jniLibs/*/libc++_shared.so links
  • Rust build errors: Check NDK paths in ~/.cargo/config and build.sh

About

Rust implementation of a hybrid Private Information Retrieval (PIR) protocol

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published