A fork of SealPIR (v2.1) with patches for PIROS microbenchmarking

Kim Laine 496779990d Updated to Microsoft SEAL 3.2.0 5 роки тому
.gitignore fbd6c9bd26 Initial commit 6 роки тому
CMakeLists.txt 496779990d Updated to Microsoft SEAL 3.2.0 5 роки тому
LICENSE 76e1a93d3c Initial commit 6 роки тому
README.md 496779990d Updated to Microsoft SEAL 3.2.0 5 роки тому
main.cpp 2eaafc25f4 Fixed the problems so that it works for recursion level d > 2 5 роки тому
pir.cpp 496779990d Updated to Microsoft SEAL 3.2.0 5 роки тому
pir.hpp 0ab6ff3333 problem fixed! 5 роки тому
pir_client.cpp 2eaafc25f4 Fixed the problems so that it works for recursion level d > 2 5 роки тому
pir_client.hpp 0ab6ff3333 problem fixed! 5 роки тому
pir_server.cpp 2eaafc25f4 Fixed the problems so that it works for recursion level d > 2 5 роки тому
pir_server.hpp 0ab6ff3333 problem fixed! 5 роки тому

README.md

SealPIR: A computational PIR library that achieves low communication costs and high performance.

SealPIR is a (research) library and should not be used in production systems. SealPIR allows a client to download an element from a database stored by a server without revealing which element was downloaded. SealPIR was introduced in our paper.

Compiling SEAL

SealPIR depends on Microsoft SEAL version 3.2.0 (link). Download Microsoft SEAL from GitHub, and follow the instructions in README.md to install it system-wide.

Compiling SealPIR

Once Microsoft SEAL 3.2.0 is installed, to build SealPIR simply run:

cmake .
make

This should produce a binary file bin/sealpir.

Using SealPIR

Take a look at the example in main.cpp for how to use SealPIR. Note: the parameter "d" stands for recursion levels, and for the current configuration, the server-to-client reply has size (pow(10, d-1) * 32) KB. Therefore we recommend using d <= 3.

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.