Serialized Form
-
Package edu.fiu.adwise.homomorphic_encryption.dgk
-
Class edu.fiu.adwise.homomorphic_encryption.dgk.DGKPrivateKey
class DGKPrivateKey extends Object implements Serializable- serialVersionUID:
- 4574519230502483629L
-
Serialized Fields
-
bigU
BigInteger bigU
The BigInteger representation of the upper bound \( u \). -
g
BigInteger g
The generator \( g \) used in the encryption scheme. -
h
BigInteger h
An auxiliary generator \( h \) used in the encryption scheme. -
k
int k
The key length \( k \) used in the encryption scheme. -
l
int l
The bit length of plaintext values. -
LUT
Map<BigInteger,
Long> LUT The lookup table (LUT) for decryption, mapping ciphertext values to plaintext values. -
n
BigInteger n
The modulus \( n \) used in the encryption scheme. -
p
BigInteger p
The first prime factor of the modulus \( n \). -
q
BigInteger q
The second prime factor of the modulus \( n \). -
t
int t
The security parameter \( t \) used in the encryption scheme. -
u
long u
The upper bound for plaintext values in the encryption scheme. -
v
BigInteger v
The product of \( vp \) and \( vq \), used for decryption. -
vp
BigInteger vp
A precomputed value for decryption using the first prime factor \( p \). -
vq
BigInteger vq
A precomputed value for decryption using the second prime factor \( q \).
-
-
Class edu.fiu.adwise.homomorphic_encryption.dgk.DGKPublicKey
class DGKPublicKey extends Object implements Serializable- serialVersionUID:
- -1613333167285302035L
-
Serialized Fields
-
bigU
BigInteger bigU
The order of the subgroup as a BigInteger. -
g
BigInteger g
The generator \( g \) used in the DGK cryptosystem. -
gLUT
HashMap<Long,
BigInteger> gLUT The lookup table for \( g^i \mod n \) values. -
h
BigInteger h
The secondary generator \( h \) used in the DGK cryptosystem. -
hLUT
HashMap<Long,
BigInteger> hLUT The lookup table for \( h^i \mod n \) values. -
k
int k
The key length used in the DGK cryptosystem. -
l
int l
The bit length of plaintext values. -
n
BigInteger n
The modulus \( n \) used in the DGK cryptosystem. -
ONE
BigInteger ONE
The encrypted representation of the value 1. -
t
int t
The security parameter used in the DGK cryptosystem. -
u
long u
The order of the subgroup as a long value. -
ZERO
BigInteger ZERO
The encrypted representation of the value 0.
-
-
-
Package edu.fiu.adwise.homomorphic_encryption.elgamal
-
Class edu.fiu.adwise.homomorphic_encryption.elgamal.ElGamal_Ciphertext
class ElGamal_Ciphertext extends Object implements Serializable- serialVersionUID:
- -4168027417302369803L
-
Serialized Fields
-
gr
BigInteger gr
The first component of the ciphertext, g^r. -
hrgm
BigInteger hrgm
The second component of the ciphertext, m * h^r or g^m * h^r.
-
-
Class edu.fiu.adwise.homomorphic_encryption.elgamal.ElGamalPrivateKey
class ElGamalPrivateKey extends Object implements Serializable- serialVersionUID:
- 9160045368787508459L
-
Serialized Fields
-
additive
boolean additive
Indicates whether additive homomorphic encryption is enabled. -
g
BigInteger g
The generator \( g \) used in the ElGamal encryption scheme. -
h
BigInteger h
The public key component \( h \) derived from \( g^x \mod p \). -
LUT
Map<BigInteger,
BigInteger> LUT The lookup table mapping \( g^m \mod p \) to \( m \) for decryption. -
p
BigInteger p
The prime modulus \( p \) used in the ElGamal encryption scheme. -
x
BigInteger x
The private key parameter \( x \) used in the ElGamal encryption scheme.
-
-
Class edu.fiu.adwise.homomorphic_encryption.elgamal.ElGamalPublicKey
class ElGamalPublicKey extends Object implements Serializable- serialVersionUID:
- -6796919675914392847L
-
Serialized Fields
-
additive
boolean additive
Indicates whether additive homomorphic encryption is enabled. -
g
BigInteger g
The generator \( g \) used in the ElGamal encryption scheme. -
h
BigInteger h
The public key component \( h \) derived from \( g^x \mod p \). -
p
BigInteger p
The prime modulus \( p \) used in the ElGamal encryption scheme.
-
-
-
Package edu.fiu.adwise.homomorphic_encryption.gm
-
Class edu.fiu.adwise.homomorphic_encryption.gm.GMPrivateKey
class GMPrivateKey extends Object implements Serializable- serialVersionUID:
- -6003066379615503599L
-
Serialized Fields
-
n
BigInteger n
The modulus \( n \), computed as the product of \( p \) and \( q \). -
p
BigInteger p
The first prime factor of the modulus \( n \). -
q
BigInteger q
The second prime factor of the modulus \( n \).
-
-
Class edu.fiu.adwise.homomorphic_encryption.gm.GMPublicKey
class GMPublicKey extends Object implements Serializable- serialVersionUID:
- -235857914395127699L
-
Serialized Fields
-
n
BigInteger n
The modulus \( n \), which is the product of two large primes. -
y
BigInteger y
A quadratic non-residue modulo \( n \), used in the encryption process.
-
-
-
Package edu.fiu.adwise.homomorphic_encryption.misc
-
Exception edu.fiu.adwise.homomorphic_encryption.misc.HomomorphicException
class HomomorphicException extends Exception implements Serializable- serialVersionUID:
- 8999421918165322916L
-
-
Package edu.fiu.adwise.homomorphic_encryption.paillier
-
Class edu.fiu.adwise.homomorphic_encryption.paillier.PaillierPrivateKey
class PaillierPrivateKey extends Object implements Serializable- serialVersionUID:
- -3342551807566493368L
-
Serialized Fields
-
alpha
BigInteger alpha
The smallest divisor of lcm(\( p-1 \), \( q-1 \)). -
g
BigInteger g
The generator \( g \), used in the encryption process. -
key_size
int key_size
The security parameter \( k_1 \), representing the number of bits in \( n \). -
lambda
BigInteger lambda
The Carmichael's function value \( \lambda \), calculated as lcm(\( p-1 \), \( q-1 \)). -
modulus
BigInteger modulus
The modulus \( n^2 \), used in the Paillier cryptosystem. -
mu
BigInteger mu
The modular inverse of \( \lambda \) modulo \( n \). -
n
BigInteger n
The value of \( n \), which is the product of two large primes \( p \) and \( q \). -
rho
BigInteger rho
The precomputed value \( \rho \), used for decryption optimization.
-
-
Class edu.fiu.adwise.homomorphic_encryption.paillier.PaillierPublicKey
class PaillierPublicKey extends Object implements Serializable- serialVersionUID:
- -4009702553030484256L
-
Serialized Fields
-
g
BigInteger g
The generator g used in the Paillier cryptosystem. -
key_size
int key_size
The size of the key in bits. -
modulus
BigInteger modulus
The modulus, which is n^2 -
n
BigInteger n
The value of n, which is the product of two large primes (p and q). -
ZERO
BigInteger ZERO
Cached value representing the encryption of zero.
-
-