GithubHelp home page GithubHelp logo

wyatt-howe / demo_z8z Goto Github PK

View Code? Open in Web Editor NEW

This project forked from meilof/demo_z8z

0.0 0.0 0.0 27 KB

Demo using Concrete library to implement exact homomorphic computation with 3-bit integers

License: GNU Affero General Public License v3.0

Rust 98.93% Makefile 1.07%

demo_z8z's Introduction

Demo Z/8Z

This demo uses Concrete library to implement exact homomorphic computation with 3-bit integers.

The following functions are implemented:

  • addition between a ciphertext and a constant
  • subtraction between a ciphertext and a constant
  • multiplication between a ciphertext and a constant
  • addition between two ciphertexts
  • subtraction between two ciphertexts
  • multiplication between two ciphertexts
  • max between two ciphertexts

Install

To run this demo, you have to install Rust and Concrete Library.

Key Generation

By default in the main and in the test we call the setup function which takes quite some time to generate the bootstrapping key and to write it in a file. It only needs to be done once, then you can use the setup_load function instead which will simply load the key from the local file.

Makefile

  • make test: to run hundreds of homomorphic additions multiplications and more
  • make build: to build
  • make run: to run the simple main program

Links for Concrete Library

License

This software is distributed under the AGPL-v3 license. If you have any question, please contact us at [email protected].

demo_z8z's People

Contributors

wyatt-howe avatar zama-bot 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.