This repository contains an implementation of Secure Full-Text Search using Function Secret Sharing.
Before you can build and run the project, you need to install the SDSL library.
-
Clone this repository
$ git clone https://github.com/u-tmk/FssFMI
-
Navigate to the repository directory
$ cd FssFMI -
Build the project
$ make all
-
Create the data directory
$ make dir
This implementation has been tested on the following environment:
- Intel 64-bit CPUs
- 64-bit Linux (tested on Ubuntu 20.04 LTS)
- GNU Make 4.2.1, gcc 9.0.4, OpenSSL 1.1.1f
To execute the program, use the following command:
$ ./bin/fssmain <party_id> <mode> [options]
<party_id> : Party id (0 or 1) is required
<mode> : 'test' or 'bench' to specify execution mode
options:
-p, --port <port_number> : Specify port number (default: 55555)
-s, --server <server_address> : Specify server address (default: 127.0.0.1)
-n, --name <function_name> : Specify function to run
-m, --mode <mode> : Specify function mode
-o, --output <output_file> : Specify output file name
-i, --iteration <iteration> : Specify iteration number
-h, --help : Display help messageTo run the tests, use the following command:
$ python3 ./src/experiments/run.py -u