Two-level Homomorphic Encryption demo
library status
initializing...
Client
secretKey :
x
y
EncG1(x)
EncG2(y)
1. append "x,y" and encrypt them (multiple times)
2. send to server
received ciphertext
0
6. decode ciphertext
0
Server
publicKey :
3. compute EncGT(x * y) := EncG1(x) * EncG2(y) for each row
4. sum of all values in EncGT(x * y) column
result
0
5. return to client