This repo includes the implementation of our paper Non-interactive and Output Expressive Private Comparison from Homomorphic Encryption
NTL_HEADER
and NTL_LIB
in the main CMakeLists.txt file.git submodule init & git submodule update
mkdir build
cmake -DCMAKE_BUILD_TYPE=Release .. & make
./main r=1 i=<tree model file>
./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