Git Product home page Git Product logo

symmetria's Introduction

Symmetria

The symmetria system introduces two symmetric encryption schemes namely SAHE (Symmetric Additive Homomorphic Encryption) and SMHE (Symmetric Multiplicative Homomorphic Encryption) that allow additions and multiplications over encrypted data.

These schemes can replace previous asymmetric PHE schemes such as Paillier or ElGamal. symmetria leads to smaller ciphertext size overheads and faster execution times for encryption, decryption and homomorphic operations.

This repository contains a proof-of-concept implementation of the encryption schemes SAHE and SMHE and comparisons against Paillier and ElGamal. More details about these schemes and the symmetria system can be found in out VLDB'20 paper:

Savvas Savvides, Darshika Khandelwal, Patrick Eugster
Efficient Confidentiality-Preserving Data Analytics over Symmetrically Encrypted Datasets
46th International Conference on Very Large Data Bases (VLDB'20)

Installation

You can compile this repository by running:

mvn package

This will create the jar file target/symmetria-0.1-SNAPSHOT.jar

mvn package will automatically run the junit tests provided.

You can avoid running tests during compilation by running:

mvn package -DskipTests

Usage

To run a class in the above jar use:

java -cp target/symmetria-0.1-SNAPSHOT.jar CLASS_FULL_PATH

Examples

To compare SAHE to Paillier you can run:

java -cp target/symmetria-0.1-SNAPSHOT.jar edu.purdue.symmetria.evaluate.AHEScheme

and to compare SMHE to ElGamal:

java -cp target/symmetria-0.1-SNAPSHOT.jar edu.purdue.symmetria.evaluate.MHEScheme

To run "Packed Paillier" which packs 21 plaintexts in a single ciphertext using the packing method described in the paper "T. Ge and S. Zdonik. Answering aggregation queries in system model, VLDB'07" you can run:

java -cp target/symmetria-0.1-SNAPSHOT.jar edu.purdue.symmetria.evaluate.PackedScheme

Contact

If you want to know more about our project or have questions, please contact Savvas [email protected].

symmetria's People

Contributors

dependabot[bot] avatar ssavvides avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.