Code Monkey home page Code Monkey logo

homomorphic-simon's Introduction

A proof-of-concept implementation of the homomorphic evaluation of SIMON using FV and YASHE leveled homomorphic cryptosystems

This is a proof-of-concept implementation of a homomorphic Simon encryption using YASHE and FV leveled homomorphic cryptosystems. This implementation is described in the following article:

[1] T. Lepoint and M. Naehrig, "A Comparison of the Homomorphic Encryption Schemes FV and YASHE". Available at http://eprint.iacr.org/2014.

This proof-of-concept implementation is done in C++ using the FLINT library http://www.flintlib.org/ The C++ wrappers are used, so our implementation requires the use of FLINT versions >= 2.4. We only tested for FLINT compiles with GMP and not MPIR.

WARNING

This academic implementation is NOT to be used, not to be considered secured nor pretty code. However we publish it under license CeCILL as a way to support code-sharing and to allow the community to verify easily both the correctness and the efficiency of this homomorphic evaluation.

HOW TO USE?

Modify the Makefile accordingly and type:

$ make
$ ./Simon

The underlying homomorphic encryption scheme can be chosen in Makefile.

Parameters can be set in the file main.h.

Note that the wordsize are set in files YASHE/YASHEKey.h and FV/FVKey.h.

To run the TEST mode, uncomment the corresponding line in main.h; To run the homomorphic evaluation of SIMON, uncomment the corresponding line in main.h.

homomorphic-simon's People

Contributors

pdroalves avatar tlepoint 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.