This project is for the research of secure deduplication, providing relevant test data sets and codes.
- MySQL 5.7+
- JDK 1.8+
- Apache Maven 3.5+
|--dedu
|--a.properties // elliptic curve parameters
|--run.sh // test script
|--secdedu-1.0-SNAPSHOT.jar // test program
|--test_sample // test sample
|--data
|--dedu.sql.zip // test data set
|--lib
|--import.sh // third-party library import script
|--jpbc-api-2.0.0.jar // third-party library
|--jpbc-plaf-2.0.0.jar // third-party library
|--rabin-1.0.1.jar // third-party library
- Create a database in MySQL: dedu
create database dedu;
- Create user: dedu, password: cust
create user dedu identified by 'cust';
- Assign permissions to the user: dedu
grant all on dedu.* to dedu@localhost;
- Unzip the file dedu.sql.zip in the data directory
- Import the decompressed file dedu.sql.bak into the database
mysql -u dedu -p dedu < dedu.sql.bak
Execute the import.sh file in the lib directory to import the third-party libraries.
If you are using Windows OS, you can rename import.sh to import.cmd, and then execute the file at the command line.
Run run.sh
If you are using Windows OS, you can rename run.sh to run.cmd and then execute the file at the command line.