Code Monkey home page Code Monkey logo

ophelib's Introduction

OPHELib

OPHELib is a library providing optimized homomorphic encryption functionality, at the moment focusing on the Paillier encryption scheme.

Quick Start

See BUILD.

Parameters and Remarks on Implementation

Key Size

If an attacker manages to factorize n, the whole system is broken.

According to NIST Special Publication 800-57 Part 1, Revision 4, Table 2, the strength for specific parameters as follows:

Strength Symmetric RSA -> n ECDSA -> α Comments
≤80 2TDEA 1024 160-223 Insecure
112 3TDEA 2048 224-255
128 AES-128 3072 256-383
192 AES-192 7680 384-511 *

*: Currently not included in the NIST standards for interoperability and efficiency reasons.

NIST does not provide an estimate for n=4096, but according to GPG it is around 140bit.

Randomization

If an attacker guesses r, a single ciphertext can be broken. In the paper "Encryption Performance Improvements of the Paillier Cryptosystem", 70 bits are used for r.

Secomlib uses a random number of n bits.

ophelib's People

Contributors

jo-m avatar ogivuk avatar thomaslocher 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.