Git Product home page Git Product logo

homomorphic-heatmap's Introduction

Homomorphically counting elements with the same property

Two methods to fast computation of heatmaps over encrypted data using fully homomorphic encryption (FHE), as described in the paper Homomorphically counting elements with the same property, by Ilia Iliashenko, Malika Izabachène, Axel Mertens, and Hilder Vitor Lima Pereira, published in PoPETs 2022.

Dependencies

This codes uses GMP, FFTW, FLINT, NTL and SEAL.

To overcome a limitation of SEAL when choosing the parameters, we had to slightly change (remove two checks) the files seal/keygenerator.cpp and seal/keygenerator.h The modified files can be found in the directory src/install_scripts/our_seal_files/. The original files from SEAL must be replaced by ours before SEAL is installed.

Installation

To simplify the installation, we prepared Bash scripts to download and install all the dependencies in standard directories. Hence, one can simply run the following command on a Linux terminal

cd src/ && ./install_third_party_libs.sh

One can also change our scripts to install the dependencies in local directories, removing thus the need for root access. However, to compile the code, the path to these libs will have to be indicated.

Compiling and running the code

To compute homomorphic heatmaps using the full-domain strategy, just enter in the directory src/ and run

./run_full_domain.sh

To compute homomorphic heatmaps using the split-domain strategy, just enter in the directory src/ and run

./run_split_domain.sh

These scripts will compile and run the code.

If you install the dependencies in non standard directories, then you have to indicate the path in our Makefiles.

homomorphic-heatmap's People

Contributors

hilder-vitor avatar

Watchers

 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.