PositronPiercer / Vsearch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

C implementation of a Forward Secure Publicly Verifiable DSSE Scheme

Make sure these libraries are installed before proceeding

For building the inverted index, all the test files must be in same directory

Running Instructions

  • Download or clone the repo
  • Modify the include/db_secrets.h according to you database configuration
  • Run make to create the binaries
  • Run ./init_db to setup the database
  • Now you have to load the keyword table into your database. Login to your database and enter SOURCE data/keyw.sql; ( replace 'data/keyw.sql' with the address of the keyw.sql file.
  • Run python3 create_inv_index.py to create the inverted index (Note that building inverted index is not a part of the algorithm and a hack has been used to build it, therefore it is required that you run ./vsearch 1before building the inverted index)
  • Run ./vsearch with the required parameter to execute

About


Languages

Language:C 94.4%Language:C++ 3.0%Language:Makefile 1.8%Language:Python 0.8%