Giter Club home page Giter Club logo

homomorphic-simon's People

Contributors

tlepoint avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

homomorphic-simon's Issues

Error When I try to run the code

YASHE/YASHEKey.h:48:0,
from main.h:67,
from Simon.h:4,
from Simon.cpp:42:
YASHE/Ciphertext.h:48:10: fatal error: flint/fmpz_mod_polyxx.h: No such file or directory
#include "flint/fmpz_mod_polyxx.h"โ€

The variable num_slots

Hi!

I imagine you are no longer working on that implementation, so, this question is not a request for code fixing, I just want to understand better the code to know if I am going to break something when changing it...

The class YASHEKey has a field called num_slots.

If I understood well, this value is also used as the maximum possible degree of the plaintexts, right?
In this case, when we are not using batching, we can only create plaintexts of degree equals to one, since num_slots is set to 1 at the line 146.

I changed that line to num_slots = params.n. So, could you please tell me if my understanding is correct and if you think it will break something ?

I am really thankful for your help!

Is it impossible to have parameters for HE with Level<32?

Hi all,

I'm trying to design parameters to homomorphicly evaluate a function with a multiplication level=5, but according to the publication[1], in order to avoid ciphertext expansion, it was proposed to use block cipher+FHE scheme[NLV11].

Since a block cipher such as SIMON-32 has a minimum multiplication level 32, the FHE level has to be 32, even for my function it only needs to be 5. Is that so?

Thanks in advance if you kindly answer it.

Kind regards,
Husen

[1] A comparison of the Homomorphic Encryption Schemes FV and YASHE

Is YASHE thread-safe?

Hello.

I just want to know if this implementation of the YASHE scheme is thread-safe. Because I am planing to use it on a multi-thread application...

Thank you very much!

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.