|
FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
|
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. | |
The Paillier crypto scheme.
| frodo2.algorithms.mpc_discsp.PaillierCryptoScheme.PaillierCryptoScheme | ( | ) |
Constructor.
| frodo2.algorithms.mpc_discsp.PaillierCryptoScheme.PaillierCryptoScheme | ( | int | bitLength | ) |
| BigInteger frodo2.algorithms.mpc_discsp.PaillierCryptoScheme.decrypt | ( | PaillierInteger | cypher | ) |
Decrypts a cyphertext.
| cypher | an encrypted integer |
References lambda, mu, frodo2.algorithms.mpc_discsp.PaillierPublicKey.n, frodo2.algorithms.mpc_discsp.PaillierPublicKey.nsquare, and frodo2.algorithms.mpc_discsp.PaillierInteger.value.
Referenced by frodo2.algorithms.mpc_discsp.MPC_DisCSP4< V extends Addable< V > >.notifyIn().
|
private |
The first part of the private decryption key.
Referenced by decrypt(), and PaillierCryptoScheme().
|
private |
The second part of the private decryption key.
Referenced by decrypt().
|
package |
|
private |
Source of randomness.
Referenced by PaillierCryptoScheme().