This repo includes the implementation of our paper Non-interactive and Output Expressive Private Comparison from Homomorphic Encryption
- Boost
- NTL
- Setup
NTL_HEADERandNTL_LIBin the main CMakeLists.txt file. - Clone the submodule by
git submodule init & git submodule update - Make the build directory
mkdir build - Run cmake inside the build director
cmake -DCMAKE_BUILD_TYPE=Release .. & make
- For playing the server's role,
./main r=1 i=<tree model file> - For playing the client's role,
./main r=0 i=<client input file>
There are some samples in the samples directory.
We can run the decision tree evaluation with both encrypted tree model and encrypted client's input.
To do so, turns the macos PLAIN_THRESHOLD to 0 in files PPDTClient.cpp and
PPDTServer.cpp.
- Modify the port number and ip address in main.cpp.
Any question, plz contact fionser_AT_gmail.com