--- Description ---
Privacy preserving distance computation framework for: Hamming distance, Euclidean distance, Scalar Product and Normalized Hamming distance (currently not implemented) on the publication [1]. The GSHADE code is licensed under AGPLv3, see the LICENSE file for a copy of the license.
--- Requirements ---
- Miracl (set up in /util/Miracl/ )
- The GMP library
- OpenSSL 1.0.2
--- Compiling ---
- Compile the Miracl library for elliptic curve cryptography (util/Miracl) using "sh linux" / "sh linux64" (depending on the system)
- Compile the distance computation framework by invoking "make" in the folder of the README file
--- Execution ---
Currently, the server routine can be invoked by starting "./dst.exe 0" in one terminal and the connecting client can be invoked using "./dst.exe 1" in a second terminal on the same machine. The parameters can be changed in the code.
--- Current Status ---
Currently, the Euclidean distance and the Scalar product have been tested and should work properly. The Hamming distance is executed but might result in the wrong result. The Normalized Hamming distance is currently not implemented, due to problems with the internal program structure.