|
FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
|
A Paillier-encrypted integer. More...

Public Member Functions | |
| PaillierInteger () | |
| Empty constructor used for externalization. | |
| void | writeExternal (ObjectOutput out) throws IOException |
| void | readExternal (ObjectInput in) throws IOException, ClassNotFoundException |
| PaillierInteger | add (PaillierInteger o) |
| Computes the addition of the underlying plaintexts. | |
| String | toString () |
Package Functions | |
| PaillierInteger (BigInteger value, BigInteger nSquare) | |
| Constructor. | |
Package Attributes | |
| BigInteger | value |
| The cyphertext. | |
| BigInteger | nSquare |
| The modulo. | |
A Paillier-encrypted integer.
| frodo2.algorithms.mpc_discsp.PaillierInteger.PaillierInteger | ( | ) |
Empty constructor used for externalization.
Referenced by add().
|
package |
| PaillierInteger frodo2.algorithms.mpc_discsp.PaillierInteger.add | ( | PaillierInteger | o | ) |
Computes the addition of the underlying plaintexts.
| o | the other cyphertext |
References PaillierInteger(), and value.

| void frodo2.algorithms.mpc_discsp.PaillierInteger.readExternal | ( | ObjectInput | in | ) | throws IOException, ClassNotFoundException |
Referenced by frodo2.algorithms.mpc_discsp.EncrSharesMsg.readExternal().
| String frodo2.algorithms.mpc_discsp.PaillierInteger.toString | ( | ) |
| void frodo2.algorithms.mpc_discsp.PaillierInteger.writeExternal | ( | ObjectOutput | out | ) | throws IOException |
Referenced by frodo2.algorithms.mpc_discsp.EncrSharesMsg.writeExternal().
|
package |
The modulo.
Referenced by PaillierInteger().
|
package |
The cyphertext.
Referenced by add(), frodo2.algorithms.mpc_discsp.PaillierCryptoScheme.decrypt(), and PaillierInteger().