|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use PaillierKey | |
---|---|
paillierp | Provides the structures and methods to encrypt data with the Paillier encryption scheme with thresholding. |
paillierp.key | Provides the structures for public and private keys for the use in the generalized Paillier encryption scheme with and without thresholding. |
paillierp.zkp | Provides the structures and methods to produce non-interactive Zero Knowledge Proofs of encryption, decryption, and multiplication in the generalized Paillier Encryption scheme. |
Uses of PaillierKey in paillierp |
---|
Fields in paillierp declared as PaillierKey | |
---|---|
protected PaillierKey |
AbstractPaillier.key
Public Key allowing encryption. |
Methods in paillierp that return PaillierKey | |
---|---|
PaillierKey |
AbstractPaillier.getPublicKey()
Returns the simple public key already in use in this instance of the cryptosystem. |
Methods in paillierp with parameters of type PaillierKey | |
---|---|
static java.math.BigInteger |
AbstractPaillier.encrypt(java.math.BigInteger m,
java.math.BigInteger r,
PaillierKey key)
Produces the encryption E( m, r ). |
static java.math.BigInteger |
AbstractPaillier.encrypt(java.math.BigInteger m,
PaillierKey key)
Produces a random encryption of m |
(package private) void |
PaillierThreshold.setEncryption(PaillierKey key)
Sets the mode for this object to encrypt and will use the provided key to encrypt messages. |
void |
Paillier.setEncryption(PaillierKey key)
Sets the mode for this object to encrypt and will use the provided key to encrypt messages. |
Constructors in paillierp with parameters of type PaillierKey | |
---|---|
Paillier(PaillierKey key)
Constructs a new encryption object which uses the specified key for encryption. |
|
PaillierThreshold(PaillierKey key)
Constructs a new encryption object which uses the specified key for encryption. |
Uses of PaillierKey in paillierp.key |
---|
Subclasses of PaillierKey in paillierp.key | |
---|---|
class |
PaillierPrivateKey
A simple private key for the generalized Paillier cryptosystem CS1. |
class |
PaillierPrivateThresholdKey
A private key for the threshold Paillier scheme CS1. |
class |
PaillierThresholdKey
A public key for the threshold Paillier cryptosystem CS1. |
Methods in paillierp.key that return PaillierKey | |
---|---|
PaillierKey |
PaillierKey.getPublicKey()
Returns the simple public key. |
Uses of PaillierKey in paillierp.zkp |
---|
Methods in paillierp.zkp with parameters of type PaillierKey | |
---|---|
boolean |
MultiplicationZKP.verifyKey(PaillierKey origkey)
Verifies that the values used in this Zero Knowledge Proof corresponds to the given key. |
boolean |
EncryptionZKP.verifyKey(PaillierKey origkey)
Verifies that the values used in this Zero Knowledge Proof corresponds to the given key. |
Constructors in paillierp.zkp with parameters of type PaillierKey | |
---|---|
EncryptionZKP(byte[] b,
PaillierKey pubkey)
Creates an instance of the Zero Knowledge Proof from a byte array (which does not have the key) and a public key. |
|
EncryptionZKP(PaillierKey key,
java.math.BigInteger alpha)
Computes a random encryption of alpha . |
|
MultiplicationZKP(PaillierKey key,
java.math.BigInteger ca,
java.math.BigInteger alpha)
Computes a random encryption of αa where a is the message encrypted in ca . |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |