A fork of SealPIR (v2.1) with patches for PIROS microbenchmarking
Kim Laine a710178f5e Updated to SEAL 3.1 | 5 vuotta sitten | |
---|---|---|
.gitignore | 6 vuotta sitten | |
CMakeLists.txt | 5 vuotta sitten | |
LICENSE | 6 vuotta sitten | |
README.md | 5 vuotta sitten | |
main.cpp | 5 vuotta sitten | |
pir.cpp | 5 vuotta sitten | |
pir.hpp | 5 vuotta sitten | |
pir_client.cpp | 5 vuotta sitten | |
pir_client.hpp | 5 vuotta sitten | |
pir_server.cpp | 5 vuotta sitten | |
pir_server.hpp | 5 vuotta sitten |
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.
SealPIR depends on Microsoft SEAL version 3.1.0 (link). Download Microsoft SEAL from GitHub, and follow the instructions in README.md to install it system-wide.
Once Microsoft SEAL 3.1.0 is installed, to build SealPIR simply run:
cmake .
make
This should produce a binary file bin/sealpir
.
Take a look at the example in main.cpp for how to use SealPIR.
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.