FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
Loading...
Searching...
No Matches
frodo2.algorithms.mpc_discsp.PaillierCryptoScheme Class Reference

The Paillier crypto scheme. More...

Public Member Functions

 PaillierCryptoScheme ()
 Constructor.
 PaillierCryptoScheme (int bitLength)
 Constructor.
BigInteger decrypt (PaillierInteger cypher)
 Decrypts a cyphertext.

Package Attributes

final PaillierPublicKey publicKey
 The public key.

Private Attributes

final BigInteger lambda
 The first part of the private decryption key.
final BigInteger mu
 The second part of the private decryption key.
final SecureRandom rand
 Source of randomness.

Detailed Description

The Paillier crypto scheme.

Author
Thomas Leaute

Constructor & Destructor Documentation

◆ PaillierCryptoScheme() [1/2]

frodo2.algorithms.mpc_discsp.PaillierCryptoScheme.PaillierCryptoScheme ( )

Constructor.

◆ PaillierCryptoScheme() [2/2]

frodo2.algorithms.mpc_discsp.PaillierCryptoScheme.PaillierCryptoScheme ( int bitLength)

Constructor.

Parameters
bitLengththe desired number of bits

References lambda, and rand.

Member Function Documentation

◆ decrypt()

BigInteger frodo2.algorithms.mpc_discsp.PaillierCryptoScheme.decrypt ( PaillierInteger cypher)

Member Data Documentation

◆ lambda

final BigInteger frodo2.algorithms.mpc_discsp.PaillierCryptoScheme.lambda
private

The first part of the private decryption key.

Referenced by decrypt(), and PaillierCryptoScheme().

◆ mu

final BigInteger frodo2.algorithms.mpc_discsp.PaillierCryptoScheme.mu
private

The second part of the private decryption key.

Referenced by decrypt().

◆ publicKey

◆ rand

final SecureRandom frodo2.algorithms.mpc_discsp.PaillierCryptoScheme.rand
private

Source of randomness.

Referenced by PaillierCryptoScheme().


The documentation for this class was generated from the following file: